aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/time
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2013-05-28 03:28:02 -0400
committerThomas Gleixner <tglx@linutronix.de>2013-05-28 03:28:02 -0400
commitc7e99fc75de8882bc4104455ace366d9d3599a96 (patch)
tree33a078e1dcb4737603fcfd8927685e5f3d04d476 /kernel/time
parent03e13cf5ee60584fe0c831682c67212effb7fca4 (diff)
clockevents: Define CS_NAME_LEN unconditionally
Unbreak architectures which do not use clockevents, but require to build some of the core timekeeping infrastructure Reported-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/time')
-rw-r--r--kernel/time/tick-internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/time/tick-internal.h b/kernel/time/tick-internal.h
index be1690eaecff..bc906cad709b 100644
--- a/kernel/time/tick-internal.h
+++ b/kernel/time/tick-internal.h
@@ -6,13 +6,13 @@
6 6
7extern seqlock_t jiffies_lock; 7extern seqlock_t jiffies_lock;
8 8
9#define CS_NAME_LEN 32
10
9#ifdef CONFIG_GENERIC_CLOCKEVENTS_BUILD 11#ifdef CONFIG_GENERIC_CLOCKEVENTS_BUILD
10 12
11#define TICK_DO_TIMER_NONE -1 13#define TICK_DO_TIMER_NONE -1
12#define TICK_DO_TIMER_BOOT -2 14#define TICK_DO_TIMER_BOOT -2
13 15
14#define CS_NAME_LEN 32
15
16DECLARE_PER_CPU(struct tick_device, tick_cpu_device); 16DECLARE_PER_CPU(struct tick_device, tick_cpu_device);
17extern ktime_t tick_next_period; 17extern ktime_t tick_next_period;
18extern ktime_t tick_period; 18extern ktime_t tick_period;