clocksource: Implement clocksource_select_fallback() for CONFIG_ARCH_USES_GETTIMEOFFSET=y
authorThomas Gleixner <tglx@linutronix.de>
Tue, 28 May 2013 07:48:46 +0000 (09:48 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 28 May 2013 07:48:46 +0000 (09:48 +0200)
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>
kernel/time/clocksource.c

index 6d05b00410ccbd79c8e426acaa8dc7528e94d031..e713ef7d19a7eb3b5bc8a8937486c5eeb8e59438 100644 (file)
@@ -632,6 +632,7 @@ static void clocksource_select_fallback(void)
 #else /* !CONFIG_ARCH_USES_GETTIMEOFFSET */
 
 static inline void clocksource_select(void) { }
+static inline void clocksource_select_fallback(void) { }
 
 #endif