Skip to content

Commit

Permalink
clockevents: Define CS_NAME_LEN unconditionally
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Gleixner committed May 28, 2013
1 parent 03e13cf commit c7e99fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/time/tick-internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c7e99fc

Please sign in to comment.