aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/sibyte/bcm1480/time.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-10-07 14:44:33 -0400
committerRalf Baechle <ralf@linux-mips.org>2006-10-07 21:38:28 -0400
commit937a801576f954bd030d7c4a5a94571710d87c0b (patch)
tree48d3440f765b56cf32a89b4b8193dd033d8227a8 /arch/mips/sibyte/bcm1480/time.c
parent31aa36658a123263a9a69896e348b9600e050679 (diff)
[MIPS] Complete fixes after removal of pt_regs argument to int handlers.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sibyte/bcm1480/time.c')
-rw-r--r--arch/mips/sibyte/bcm1480/time.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/sibyte/bcm1480/time.c b/arch/mips/sibyte/bcm1480/time.c
index 7e088f6c4a86..f228f711dc34 100644
--- a/arch/mips/sibyte/bcm1480/time.c
+++ b/arch/mips/sibyte/bcm1480/time.c
@@ -100,10 +100,10 @@ void bcm1480_time_init(void)
100 100
101#include <asm/sibyte/sb1250.h> 101#include <asm/sibyte/sb1250.h>
102 102
103void bcm1480_timer_interrupt(struct pt_regs *regs) 103void bcm1480_timer_interrupt(void)
104{ 104{
105 int cpu = smp_processor_id(); 105 int cpu = smp_processor_id();
106 int irq = K_BCM1480_INT_TIMER_0+cpu; 106 int irq = K_BCM1480_INT_TIMER_0 + cpu;
107 107
108 /* Reset the timer */ 108 /* Reset the timer */
109 __raw_writeq(M_SCD_TIMER_ENABLE|M_SCD_TIMER_MODE_CONTINUOUS, 109 __raw_writeq(M_SCD_TIMER_ENABLE|M_SCD_TIMER_MODE_CONTINUOUS,
@@ -113,13 +113,13 @@ void bcm1480_timer_interrupt(struct pt_regs *regs)
113 /* 113 /*
114 * CPU 0 handles the global timer interrupt job 114 * CPU 0 handles the global timer interrupt job
115 */ 115 */
116 ll_timer_interrupt(irq, regs); 116 ll_timer_interrupt(irq);
117 } 117 }
118 else { 118 else {
119 /* 119 /*
120 * other CPUs should just do profiling and process accounting 120 * other CPUs should just do profiling and process accounting
121 */ 121 */
122 ll_local_timer_interrupt(irq, regs); 122 ll_local_timer_interrupt(irq);
123 } 123 }
124} 124}
125 125