mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
clocksource: Fix !CONFIG_CLOCKSOURCE_WATCHDOG compile
If I explicitly disable the clocksource watchdog in the x86 Kconfig, the x86 kernel will not compile unless this is properly defined. Cc: John Stultz <john.stultz@linaro.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: x86@kernel.org Signed-off-by: Prarit Bhargava <prarit@redhat.com> Signed-off-by: John Stultz <john.stultz@linaro.org>
This commit is contained in:
parent
14d0e347ea
commit
397bbf6dee
1 changed files with 1 additions and 0 deletions
|
@ -479,6 +479,7 @@ static inline void clocksource_dequeue_watchdog(struct clocksource *cs) { }
|
||||||
static inline void clocksource_resume_watchdog(void) { }
|
static inline void clocksource_resume_watchdog(void) { }
|
||||||
static inline int __clocksource_watchdog_kthread(void) { return 0; }
|
static inline int __clocksource_watchdog_kthread(void) { return 0; }
|
||||||
static bool clocksource_is_watchdog(struct clocksource *cs) { return false; }
|
static bool clocksource_is_watchdog(struct clocksource *cs) { return false; }
|
||||||
|
void clocksource_mark_unstable(struct clocksource *cs) { }
|
||||||
|
|
||||||
#endif /* CONFIG_CLOCKSOURCE_WATCHDOG */
|
#endif /* CONFIG_CLOCKSOURCE_WATCHDOG */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue