diff options
Diffstat (limited to 'kernel/hrtimer.c')
-rw-r--r-- | kernel/hrtimer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index 1a70c18cdffe..cb8a15c19583 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c | |||
@@ -476,7 +476,7 @@ static inline int hrtimer_is_hres_enabled(void) | |||
476 | /* | 476 | /* |
477 | * Is the high resolution mode active ? | 477 | * Is the high resolution mode active ? |
478 | */ | 478 | */ |
479 | int hrtimer_hres_active(void) | 479 | static inline int hrtimer_hres_active(void) |
480 | { | 480 | { |
481 | return __get_cpu_var(hrtimer_bases).hres_active; | 481 | return __get_cpu_var(hrtimer_bases).hres_active; |
482 | } | 482 | } |
@@ -704,7 +704,7 @@ static int hrtimer_switch_to_hres(void) | |||
704 | 704 | ||
705 | #else | 705 | #else |
706 | 706 | ||
707 | int hrtimer_hres_active(void) { return 0; } | 707 | static inline int hrtimer_hres_active(void) { return 0; } |
708 | static inline int hrtimer_is_hres_enabled(void) { return 0; } | 708 | static inline int hrtimer_is_hres_enabled(void) { return 0; } |
709 | static inline int hrtimer_switch_to_hres(void) { return 0; } | 709 | static inline int hrtimer_switch_to_hres(void) { return 0; } |
710 | static inline void hrtimer_force_reprogram(struct hrtimer_cpu_base *base) { } | 710 | static inline void hrtimer_force_reprogram(struct hrtimer_cpu_base *base) { } |