diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2013-05-28 03:48:46 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2013-05-28 03:48:46 -0400 |
commit | 1eaff67266b6b6c97bbd33cf2c20577822836413 (patch) | |
tree | 3ef270ec2f0ac9197496ea23be042b4fa000c915 /kernel | |
parent | c7e99fc75de8882bc4104455ace366d9d3599a96 (diff) |
clocksource: Implement clocksource_select_fallback() for CONFIG_ARCH_USES_GETTIMEOFFSET=y
commit 7eaeb34305 (clocksource: Provide unbind interface in sysfs)
implemented clocksource_select_fallback() which is not defined for
CONFIG_ARCH_USES_GETTIMEOFFSET=y. Add an empty inline function for
that.
Reported-by: Ingo Molnar <mingo@kernel.org>
Reported-by: fengguang.wu@intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/time/clocksource.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c index 6d05b00410cc..e713ef7d19a7 100644 --- a/kernel/time/clocksource.c +++ b/kernel/time/clocksource.c | |||
@@ -632,6 +632,7 @@ static void clocksource_select_fallback(void) | |||
632 | #else /* !CONFIG_ARCH_USES_GETTIMEOFFSET */ | 632 | #else /* !CONFIG_ARCH_USES_GETTIMEOFFSET */ |
633 | 633 | ||
634 | static inline void clocksource_select(void) { } | 634 | static inline void clocksource_select(void) { } |
635 | static inline void clocksource_select_fallback(void) { } | ||
635 | 636 | ||
636 | #endif | 637 | #endif |
637 | 638 | ||