diff options
Diffstat (limited to 'drivers/clocksource/arm_arch_timer.c')
-rw-r--r-- | drivers/clocksource/arm_arch_timer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c index 053d846ab5b1..aa0703847e5d 100644 --- a/drivers/clocksource/arm_arch_timer.c +++ b/drivers/clocksource/arm_arch_timer.c | |||
@@ -43,7 +43,7 @@ static bool arch_timer_use_virtual = true; | |||
43 | * Architected system timer support. | 43 | * Architected system timer support. |
44 | */ | 44 | */ |
45 | 45 | ||
46 | static inline irqreturn_t timer_handler(const int access, | 46 | static __always_inline irqreturn_t timer_handler(const int access, |
47 | struct clock_event_device *evt) | 47 | struct clock_event_device *evt) |
48 | { | 48 | { |
49 | unsigned long ctrl; | 49 | unsigned long ctrl; |
@@ -72,7 +72,7 @@ static irqreturn_t arch_timer_handler_phys(int irq, void *dev_id) | |||
72 | return timer_handler(ARCH_TIMER_PHYS_ACCESS, evt); | 72 | return timer_handler(ARCH_TIMER_PHYS_ACCESS, evt); |
73 | } | 73 | } |
74 | 74 | ||
75 | static inline void timer_set_mode(const int access, int mode) | 75 | static __always_inline void timer_set_mode(const int access, int mode) |
76 | { | 76 | { |
77 | unsigned long ctrl; | 77 | unsigned long ctrl; |
78 | switch (mode) { | 78 | switch (mode) { |
@@ -99,7 +99,7 @@ static void arch_timer_set_mode_phys(enum clock_event_mode mode, | |||
99 | timer_set_mode(ARCH_TIMER_PHYS_ACCESS, mode); | 99 | timer_set_mode(ARCH_TIMER_PHYS_ACCESS, mode); |
100 | } | 100 | } |
101 | 101 | ||
102 | static inline void set_next_event(const int access, unsigned long evt) | 102 | static __always_inline void set_next_event(const int access, unsigned long evt) |
103 | { | 103 | { |
104 | unsigned long ctrl; | 104 | unsigned long ctrl; |
105 | ctrl = arch_timer_reg_read(access, ARCH_TIMER_REG_CTRL); | 105 | ctrl = arch_timer_reg_read(access, ARCH_TIMER_REG_CTRL); |