From: Thomas Gleixner Date: Tue, 28 May 2013 07:28:02 +0000 (+0200) Subject: clockevents: Define CS_NAME_LEN unconditionally X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c7e99fc75de8882bc4104455ace366d9d3599a96;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Thomas Gleixner --- 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 @@ 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;