summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2013-05-28 09:28:02 +0200
committerThomas Gleixner <tglx@linutronix.de>2013-05-28 09:28:02 +0200
commitc7e99fc75de8882bc4104455ace366d9d3599a96 (patch)
tree33a078e1dcb4737603fcfd8927685e5f3d04d476 /kernel
parent03e13cf5ee60584fe0c831682c67212effb7fca4 (diff)
downloadop-kernel-dev-c7e99fc75de8882bc4104455ace366d9d3599a96.zip
op-kernel-dev-c7e99fc75de8882bc4104455ace366d9d3599a96.tar.gz
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')
-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 be1690e..bc906ca 100644
--- a/kernel/time/tick-internal.h
+++ b/kernel/time/tick-internal.h
@@ -6,13 +6,13 @@
extern seqlock_t jiffies_lock;
+#define CS_NAME_LEN 32
+
#ifdef CONFIG_GENERIC_CLOCKEVENTS_BUILD
#define TICK_DO_TIMER_NONE -1
#define TICK_DO_TIMER_BOOT -2
-#define CS_NAME_LEN 32
-
DECLARE_PER_CPU(struct tick_device, tick_cpu_device);
extern ktime_t tick_next_period;
extern ktime_t tick_period;
OpenPOWER on IntegriCloud