diff options
| author | Adrian Bunk <bunk@stusta.de> | 2005-09-06 18:17:39 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 19:57:32 -0400 |
| commit | 7f4bde9a3486cd7e70bedd2aff35b38667d50173 (patch) | |
| tree | 594ef79e14e787196099985e58a9d6563659508d | |
| parent | 2832e9366a1fcd6f76957a42157be041240f994e (diff) | |
[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>
| -rw-r--r-- | arch/i386/kernel/time.c | 5 | ||||
| -rw-r--r-- | arch/sh/kernel/time.c | 4 | ||||
| -rw-r--r-- | arch/sh64/kernel/time.c | 4 |
3 files changed, 6 insertions, 7 deletions
diff --git a/arch/i386/kernel/time.c b/arch/i386/kernel/time.c index b0c5ee2b34..9b94d84a6c 100644 --- a/arch/i386/kernel/time.c +++ b/arch/i386/kernel/time.c | |||
| @@ -252,8 +252,7 @@ EXPORT_SYMBOL(profile_pc); | |||
| 252 | * timer_interrupt() needs to keep up the real-time clock, | 252 | * timer_interrupt() needs to keep up the real-time clock, |
| 253 | * as well as call the "do_timer()" routine every clocktick | 253 | * as well as call the "do_timer()" routine every clocktick |
| 254 | */ | 254 | */ |
| 255 | static inline void do_timer_interrupt(int irq, void *dev_id, | 255 | static inline void do_timer_interrupt(int irq, struct pt_regs *regs) |
| 256 | struct pt_regs *regs) | ||
| 257 | { | 256 | { |
| 258 | #ifdef CONFIG_X86_IO_APIC | 257 | #ifdef CONFIG_X86_IO_APIC |
| 259 | if (timer_ack) { | 258 | if (timer_ack) { |
| @@ -307,7 +306,7 @@ irqreturn_t timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) | |||
| 307 | 306 | ||
| 308 | cur_timer->mark_offset(); | 307 | cur_timer->mark_offset(); |
| 309 | 308 | ||
| 310 | do_timer_interrupt(irq, NULL, regs); | 309 | do_timer_interrupt(irq, regs); |
| 311 | 310 | ||
| 312 | write_sequnlock(&xtime_lock); | 311 | write_sequnlock(&xtime_lock); |
| 313 | return IRQ_HANDLED; | 312 | return IRQ_HANDLED; |
diff --git a/arch/sh/kernel/time.c b/arch/sh/kernel/time.c index df7a9b9d4c..d5f5aedde0 100644 --- a/arch/sh/kernel/time.c +++ b/arch/sh/kernel/time.c | |||
| @@ -234,7 +234,7 @@ static long last_rtc_update; | |||
| 234 | * timer_interrupt() needs to keep up the real-time clock, | 234 | * timer_interrupt() needs to keep up the real-time clock, |
| 235 | * as well as call the "do_timer()" routine every clocktick | 235 | * as well as call the "do_timer()" routine every clocktick |
| 236 | */ | 236 | */ |
| 237 | static inline void do_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) | 237 | static inline void do_timer_interrupt(int irq, struct pt_regs *regs) |
| 238 | { | 238 | { |
| 239 | do_timer(regs); | 239 | do_timer(regs); |
| 240 | #ifndef CONFIG_SMP | 240 | #ifndef CONFIG_SMP |
| @@ -285,7 +285,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) | |||
| 285 | * locally disabled. -arca | 285 | * locally disabled. -arca |
| 286 | */ | 286 | */ |
| 287 | write_seqlock(&xtime_lock); | 287 | write_seqlock(&xtime_lock); |
| 288 | do_timer_interrupt(irq, NULL, regs); | 288 | do_timer_interrupt(irq, regs); |
| 289 | write_sequnlock(&xtime_lock); | 289 | write_sequnlock(&xtime_lock); |
| 290 | 290 | ||
| 291 | return IRQ_HANDLED; | 291 | return IRQ_HANDLED; |
diff --git a/arch/sh64/kernel/time.c b/arch/sh64/kernel/time.c index 6c84da3efc..926c6fc061 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 | */ |
| 306 | static inline void do_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) | 306 | static 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; |
