[PATCH] jiffies_64: Use the same data section attribute

From: Pranith Kumar
Date: Wed Aug 13 2014 - 13:11:26 EST


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

Signed-off-by: Pranith Kumar <bobby.prani@xxxxxxxxx>
---
include/linux/jiffies.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/jiffies.h b/include/linux/jiffies.h
index 1f44466..ec84da22 100644
--- a/include/linux/jiffies.h
+++ b/include/linux/jiffies.h
@@ -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)
--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/