aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/time/tick-internal.h
diff options
context:
space:
mode:
authorTorben Hohn <torbenh@gmx.de>2011-01-27 10:00:32 -0500
committerThomas Gleixner <tglx@linutronix.de>2011-01-31 13:26:50 -0500
commite2830b5c1b2b2217894370a3b95af87d4a958401 (patch)
tree9eec3de82a30fffc32beae7826e4a356220c52f7 /kernel/time/tick-internal.h
parentd12b0e24c56c6fb2398609f26858e5278d688840 (diff)
time: Make do_timer() and xtime_lock local to kernel/time/
All callers of do_timer() are converted to xtime_update(). The only users of xtime_lock are in kernel/time/. Make both local to kernel/time/ and remove them from the global header files. [ tglx: Reuse tick-internal.h instead of creating another local header file. Massaged changelog ] Signed-off-by: Torben Hohn <torbenh@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: johnstul@us.ibm.com Cc: yong.zhang0@gmail.com Cc: hch@infradead.org Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/time/tick-internal.h')
-rw-r--r--kernel/time/tick-internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/time/tick-internal.h b/kernel/time/tick-internal.h
index 290eefbc1f60..28c578568c9d 100644
--- a/kernel/time/tick-internal.h
+++ b/kernel/time/tick-internal.h
@@ -1,6 +1,8 @@
1/* 1/*
2 * tick internal variable and functions used by low/high res code 2 * tick internal variable and functions used by low/high res code
3 */ 3 */
4#include <linux/hrtimer.h>
5#include <linux/tick.h>
4 6
5#define TICK_DO_TIMER_NONE -1 7#define TICK_DO_TIMER_NONE -1
6#define TICK_DO_TIMER_BOOT -2 8#define TICK_DO_TIMER_BOOT -2
@@ -132,3 +134,6 @@ static inline int tick_device_is_functional(struct clock_event_device *dev)
132{ 134{
133 return !(dev->features & CLOCK_EVT_FEAT_DUMMY); 135 return !(dev->features & CLOCK_EVT_FEAT_DUMMY);
134} 136}
137
138extern void do_timer(unsigned long ticks);
139extern seqlock_t xtime_lock;