]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[PATCH] powerpc: unified signature of timer_interrupt() between ppc32/ppc64
authorKumar Gala <galak@freescale.com>
Mon, 19 Sep 2005 14:30:27 +0000 (09:30 -0500)
committerPaul Mackerras <paulus@samba.org>
Wed, 21 Sep 2005 09:21:09 +0000 (19:21 +1000)
On ppc64 timer_interrupt() returned a value that was never used.  Changed
the ppc64 version of timer_interrupt() to no longer return a value so
that the signatures between ppc32 & ppc64 match.  This will simplify
future merging of arch/powerpc.

Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc64/kernel/time.c
include/asm-ppc64/hw_irq.h

index 9939c206afa42c776eef326e92094a29e5eaa211..fb4bf0ad8f3252d70f3e82777c54b446e4d3e9db 100644 (file)
@@ -319,7 +319,7 @@ unsigned long tb_last_stamp __cacheline_aligned_in_smp;
  * timer_interrupt - gets called when the decrementer overflows,
  * with interrupts disabled.
  */
-int timer_interrupt(struct pt_regs * regs)
+void timer_interrupt(struct pt_regs * regs)
 {
        int next_dec;
        unsigned long cur_tb;
@@ -377,8 +377,6 @@ int timer_interrupt(struct pt_regs * regs)
        }
 
        irq_exit();
-
-       return 1;
 }
 
 /*
index baea40e695ecb3c0f3d7c47a1a582a8106789cbc..c483897b875722adfcb864921042dfa2eb2fdd98 100644 (file)
@@ -16,7 +16,7 @@
 #include <linux/errno.h>
 #include <asm/irq.h>
 
-int timer_interrupt(struct pt_regs *);
+extern void timer_interrupt(struct pt_regs *);
 extern void ppc_irq_dispatch_handler(struct pt_regs *regs, int irq);
 
 #ifdef CONFIG_PPC_ISERIES