Skip to contentSkip to conversation

jiffies_64: Use the same data section attribute

PATCH New Pranith Kumar 1 participant 1 message Aug 13, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 jiffies_64: Use the same data section attribute

jiffies_64 is defined with different section attribute. This commit changes the extern definition to be the same as the actual definition.

---
 include/linux/jiffies.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/jiffies.h +1 -1
index 1f44466..ec84da22 100644
@@ -73,7 +73,7 @@ extern int register_refined_jiffies(long clock_tick_rate);
  * without sampling the sequence number in jiffies_lock.
  * get_jiffies_64() will do this for you as appropriate.
  */
-extern u64 __jiffy_data jiffies_64;
+extern u64 jiffies_64 __cacheline_aligned_in_smp;
 extern unsigned long volatile __jiffy_data jiffies;
 
 #if (BITS_PER_LONG < 64)
Signature · 1 line
1.9.1