aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/time
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-12-08 12:49:26 +0100
committerThomas Gleixner <tglx@linutronix.de>2009-12-14 23:55:34 +0100
commitd192c47f25daa98996c7eae543d8a27e41247ec2 (patch)
tree7ad7970ffbf0fa25bab4fc9eb20f6a6fdbb30bb1 /kernel/time
parentaef9cb05247df3d7615773737beb4f83d78577bb (diff)
downloadkernel_samsung_tuna-d192c47f25daa98996c7eae543d8a27e41247ec2.zip
kernel_samsung_tuna-d192c47f25daa98996c7eae543d8a27e41247ec2.tar.gz
kernel_samsung_tuna-d192c47f25daa98996c7eae543d8a27e41247ec2.tar.bz2
clockevents: Make tick_device_lock static
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Peter Zijlstra <peterz@infradead.org> Acked-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/time')
-rw-r--r--kernel/time/tick-common.c2
-rw-r--r--kernel/time/tick-internal.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/kernel/time/tick-common.c b/kernel/time/tick-common.c
index 83c4417..af39cf1 100644
--- a/kernel/time/tick-common.c
+++ b/kernel/time/tick-common.c
@@ -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
diff --git a/kernel/time/tick-internal.h b/kernel/time/tick-internal.h
index b1c05bf..290eefb 100644
--- a/kernel/time/tick-internal.h
+++ b/kernel/time/tick-internal.h
@@ -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;