diff options
Diffstat (limited to 'arch/x86/kernel/tsc.c')
-rw-r--r-- | arch/x86/kernel/tsc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c index c73a7f9e881a..714dfba6a1e7 100644 --- a/arch/x86/kernel/tsc.c +++ b/arch/x86/kernel/tsc.c | |||
@@ -328,7 +328,7 @@ unsigned long long sched_clock(void) | |||
328 | return paravirt_sched_clock(); | 328 | return paravirt_sched_clock(); |
329 | } | 329 | } |
330 | 330 | ||
331 | static inline bool using_native_sched_clock(void) | 331 | bool using_native_sched_clock(void) |
332 | { | 332 | { |
333 | return pv_time_ops.sched_clock == native_sched_clock; | 333 | return pv_time_ops.sched_clock == native_sched_clock; |
334 | } | 334 | } |
@@ -336,7 +336,7 @@ static inline bool using_native_sched_clock(void) | |||
336 | unsigned long long | 336 | unsigned long long |
337 | sched_clock(void) __attribute__((alias("native_sched_clock"))); | 337 | sched_clock(void) __attribute__((alias("native_sched_clock"))); |
338 | 338 | ||
339 | static inline bool using_native_sched_clock(void) { return true; } | 339 | bool using_native_sched_clock(void) { return true; } |
340 | #endif | 340 | #endif |
341 | 341 | ||
342 | int check_tsc_unstable(void) | 342 | int check_tsc_unstable(void) |