summaryrefslogtreecommitdiff
path: root/arch/sh64
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-09-06 15:17:39 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-07 16:57:32 -0700
commit7f4bde9a3486cd7e70bedd2aff35b38667d50173 (patch)
tree594ef79e14e787196099985e58a9d6563659508d /arch/sh64
parent2832e9366a1fcd6f76957a42157be041240f994e (diff)
downloadlinux-3.10-7f4bde9a3486cd7e70bedd2aff35b38667d50173.tar.gz
linux-3.10-7f4bde9a3486cd7e70bedd2aff35b38667d50173.tar.bz2
linux-3.10-7f4bde9a3486cd7e70bedd2aff35b38667d50173.zip
[PATCH] remove the second arg of do_timer_interrupt()
The second arg of do_timer_interrupt() is not used in the functions, and all callers pass NULL. Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: Paul Mundt <lethal@Linux-SH.ORG> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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 6c84da3efc7..926c6fc0619 100644
--- a/arch/sh64/kernel/time.c
+++ b/arch/sh64/kernel/time.c
@@ -303,7 +303,7 @@ static long last_rtc_update = 0;
* timer_interrupt() needs to keep up the real-time clock,
* as well as call the "do_timer()" routine every clocktick
*/
-static inline void do_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
+static inline void do_timer_interrupt(int irq, struct pt_regs *regs)
{
unsigned long long current_ctc;
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)
* locally disabled. -arca
*/
write_lock(&xtime_lock);
- do_timer_interrupt(irq, NULL, regs);
+ do_timer_interrupt(irq, regs);
write_unlock(&xtime_lock);
return IRQ_HANDLED;