]> git.karo-electronics.de Git - linux-beck.git/commitdiff
timekeeping: Make jiffies_lock internal
authorThomas Gleixner <tglx@linutronix.de>
Thu, 21 Feb 2013 22:51:36 +0000 (22:51 +0000)
committerJohn Stultz <john.stultz@linaro.org>
Fri, 22 Mar 2013 23:20:00 +0000 (16:20 -0700)
Nothing outside of the timekeeping core needs that lock.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
include/linux/jiffies.h
kernel/time/tick-internal.h
kernel/time/timekeeping.c

index 82ed068b1ebee619906a1713ce9e8b51c134e78c..8fb8edf12417a4d8b53bbcd8c3aacb5ea6b5054e 100644 (file)
@@ -75,7 +75,6 @@ extern int register_refined_jiffies(long clock_tick_rate);
  */
 extern u64 __jiffy_data jiffies_64;
 extern unsigned long volatile __jiffy_data jiffies;
-extern seqlock_t jiffies_lock;
 
 #if (BITS_PER_LONG < 64)
 u64 get_jiffies_64(void);
index cf3e59ed6dc0ce7cef9b990f74d0ace7a8a152a4..f5c9207967cf31c2086628220ea4f98f588c745e 100644 (file)
@@ -4,6 +4,8 @@
 #include <linux/hrtimer.h>
 #include <linux/tick.h>
 
+extern seqlock_t jiffies_lock;
+
 #ifdef CONFIG_GENERIC_CLOCKEVENTS_BUILD
 
 #define TICK_DO_TIMER_NONE     -1
index c442a4ccccc990752321bfa3b3a04543c80e7b95..b0c648fc959f6de9a192747ce82f7d43933661bf 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/stop_machine.h>
 #include <linux/pvclock_gtod.h>
 
+#include "tick-internal.h"
 
 static struct timekeeper timekeeper;