aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh64
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh64')
-rw-r--r--arch/sh64/kernel/time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh64/kernel/time.c b/arch/sh64/kernel/time.c
index 6c84da3efc73..926c6fc0619c 100644
--- a/arch/sh64/kernel/time.c
+++ b/arch/sh64/kernel/time.c
@@ -303,7 +303,7 @@ static long last_rtc_update = 0;
303 * timer_interrupt() needs to keep up the real-time clock, 303 * timer_interrupt() needs to keep up the real-time clock,
304 * as well as call the "do_timer()" routine every clocktick 304 * as well as call the "do_timer()" routine every clocktick
305 */ 305 */
306static inline void do_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) 306static inline void do_timer_interrupt(int irq, struct pt_regs *regs)
307{ 307{
308 unsigned long long current_ctc; 308 unsigned long long current_ctc;
309 asm ("getcon cr62, %0" : "=r" (current_ctc)); 309 asm ("getcon cr62, %0" : "=r" (current_ctc));
@@ -361,7 +361,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
361 * locally disabled. -arca 361 * locally disabled. -arca
362 */ 362 */
363 write_lock(&xtime_lock); 363 write_lock(&xtime_lock);
364 do_timer_interrupt(irq, NULL, regs); 364 do_timer_interrupt(irq, regs);
365 write_unlock(&xtime_lock); 365 write_unlock(&xtime_lock);
366 366
367 return IRQ_HANDLED; 367 return IRQ_HANDLED;