diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2013-03-22 10:48:33 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2013-03-22 10:48:33 +0100 |
commit | 19919226c3f20e6bf5de3df96432ce80ffd63ff2 (patch) | |
tree | 50aa45f18e8f453b54e1f2d2e6c2dc75fbbf53f5 /include/linux/clockchips.h | |
parent | 35b61edb41ffee58711850e76215b852386ddb10 (diff) | |
download | op-kernel-dev-19919226c3f20e6bf5de3df96432ce80ffd63ff2.zip op-kernel-dev-19919226c3f20e6bf5de3df96432ce80ffd63ff2.tar.gz |
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>
Diffstat (limited to 'include/linux/clockchips.h')
-rw-r--r-- | include/linux/clockchips.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/clockchips.h b/include/linux/clockchips.h index 646aac1..464e229 100644 --- a/include/linux/clockchips.h +++ b/include/linux/clockchips.h @@ -193,6 +193,7 @@ static inline void clockevents_suspend(void) {} static inline void clockevents_resume(void) {} #define clockevents_notify(reason, arg) do { } while (0) +static inline int tick_check_broadcast_expired(void) { return 0; } #endif |