mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-17 01:34:00 +08:00
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>
This commit is contained in:
parent
03e13cf5ee
commit
c7e99fc75d
@ -6,13 +6,13 @@
|
|||||||
|
|
||||||
extern seqlock_t jiffies_lock;
|
extern seqlock_t jiffies_lock;
|
||||||
|
|
||||||
|
#define CS_NAME_LEN 32
|
||||||
|
|
||||||
#ifdef CONFIG_GENERIC_CLOCKEVENTS_BUILD
|
#ifdef CONFIG_GENERIC_CLOCKEVENTS_BUILD
|
||||||
|
|
||||||
#define TICK_DO_TIMER_NONE -1
|
#define TICK_DO_TIMER_NONE -1
|
||||||
#define TICK_DO_TIMER_BOOT -2
|
#define TICK_DO_TIMER_BOOT -2
|
||||||
|
|
||||||
#define CS_NAME_LEN 32
|
|
||||||
|
|
||||||
DECLARE_PER_CPU(struct tick_device, tick_cpu_device);
|
DECLARE_PER_CPU(struct tick_device, tick_cpu_device);
|
||||||
extern ktime_t tick_next_period;
|
extern ktime_t tick_next_period;
|
||||||
extern ktime_t tick_period;
|
extern ktime_t tick_period;
|
||||||
|
Loading…
Reference in New Issue
Block a user