clockevents: Add missing tick_check_broadcast_expired() for CLOCKEVENTS=n
Fengs build robot reports: arch/arm/kernel/process.c: In function 'cpu_idle': arch/arm/kernel/process.c:211:4: error: implicit declaration of function 'tick_check_broadcast_expired' [-Werror=implicit-function-declaration] Add the missing inline function for non clockevent builds Reported-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
@@ -193,6 +193,7 @@ static inline void clockevents_suspend(void) {}
|
|||||||
static inline void clockevents_resume(void) {}
|
static inline void clockevents_resume(void) {}
|
||||||
|
|
||||||
#define clockevents_notify(reason, arg) do { } while (0)
|
#define clockevents_notify(reason, arg) do { } while (0)
|
||||||
|
static inline int tick_check_broadcast_expired(void) { return 0; }
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user