Skip to content

Commit

Permalink
clocksource: Implement clocksource_select_fallback() for CONFIG_ARCH_…
Browse files Browse the repository at this point in the history
…USES_GETTIMEOFFSET=y

commit 7eaeb34 (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>
  • Loading branch information
Thomas Gleixner committed May 28, 2013
1 parent c7e99fc commit 1eaff67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/time/clocksource.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1eaff67

Please sign in to comment.