Skip to content

Commit

Permalink
clockevents: Make tick_device_lock static
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Thomas Gleixner committed Dec 14, 2009
1 parent aef9cb0 commit d192c47
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion kernel/time/tick-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion kernel/time/tick-internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d192c47

Please sign in to comment.