mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] jiffies_64: Use the same data section attribute
@ 2014-08-13 17:11 Pranith Kumar
  0 siblings, 0 replies; only message in thread
From: Pranith Kumar @ 2014-08-13 17:11 UTC (permalink / raw)
  To: Frederic Weisbecker, Josh Triplett, Kevin Hilman,
	Paul E. McKenney, open list

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@gmail.com>
---
 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-13 17:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-13 17:11 [PATCH] jiffies_64: Use the same data section attribute Pranith Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®