clockevents: Make tick_device_lock static
authorThomas Gleixner <tglx@linutronix.de>
Tue, 8 Dec 2009 11:49:26 +0000 (12:49 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 14 Dec 2009 22:55:34 +0000 (23:55 +0100)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
kernel/time/tick-common.c
kernel/time/tick-internal.h

index 83c4417b6a3cccd734c8f7f9386670641babd0c8..af39cf1cfa50182de06cc32a33f9eab0577e357b 100644 (file)
@@ -34,7 +34,7 @@ DEFINE_PER_CPU(struct tick_device, tick_cpu_device);
 ktime_t tick_next_period;
 ktime_t tick_period;
 int tick_do_timer_cpu __read_mostly = TICK_DO_TIMER_BOOT;
-DEFINE_SPINLOCK(tick_device_lock);
+static DEFINE_SPINLOCK(tick_device_lock);
 
 /*
  * Debugging: see timer_list.c
index b1c05bf75ee0ce36e0664d3e2e71d00ac0e09edd..290eefbc1f608ec4d9c957fb5798eb53490f9e7c 100644 (file)
@@ -6,7 +6,6 @@
 #define TICK_DO_TIMER_BOOT     -2
 
 DECLARE_PER_CPU(struct tick_device, tick_cpu_device);
-extern spinlock_t tick_device_lock;
 extern ktime_t tick_next_period;
 extern ktime_t tick_period;
 extern int tick_do_timer_cpu __read_mostly;