diff options
-rw-r--r-- | arch/ppc64/kernel/time.c | 4 | ||||
-rw-r--r-- | include/asm-ppc64/hw_irq.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/arch/ppc64/kernel/time.c b/arch/ppc64/kernel/time.c index 9939c206afa4..fb4bf0ad8f32 100644 --- a/arch/ppc64/kernel/time.c +++ b/arch/ppc64/kernel/time.c | |||
@@ -319,7 +319,7 @@ unsigned long tb_last_stamp __cacheline_aligned_in_smp; | |||
319 | * timer_interrupt - gets called when the decrementer overflows, | 319 | * timer_interrupt - gets called when the decrementer overflows, |
320 | * with interrupts disabled. | 320 | * with interrupts disabled. |
321 | */ | 321 | */ |
322 | int timer_interrupt(struct pt_regs * regs) | 322 | void timer_interrupt(struct pt_regs * regs) |
323 | { | 323 | { |
324 | int next_dec; | 324 | int next_dec; |
325 | unsigned long cur_tb; | 325 | unsigned long cur_tb; |
@@ -377,8 +377,6 @@ int timer_interrupt(struct pt_regs * regs) | |||
377 | } | 377 | } |
378 | 378 | ||
379 | irq_exit(); | 379 | irq_exit(); |
380 | |||
381 | return 1; | ||
382 | } | 380 | } |
383 | 381 | ||
384 | /* | 382 | /* |
diff --git a/include/asm-ppc64/hw_irq.h b/include/asm-ppc64/hw_irq.h index baea40e695ec..c483897b8757 100644 --- a/include/asm-ppc64/hw_irq.h +++ b/include/asm-ppc64/hw_irq.h | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <linux/errno.h> | 16 | #include <linux/errno.h> |
17 | #include <asm/irq.h> | 17 | #include <asm/irq.h> |
18 | 18 | ||
19 | int timer_interrupt(struct pt_regs *); | 19 | extern void timer_interrupt(struct pt_regs *); |
20 | extern void ppc_irq_dispatch_handler(struct pt_regs *regs, int irq); | 20 | extern void ppc_irq_dispatch_handler(struct pt_regs *regs, int irq); |
21 | 21 | ||
22 | #ifdef CONFIG_PPC_ISERIES | 22 | #ifdef CONFIG_PPC_ISERIES |