aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/sibyte/bcm1480/time.c
diff options
context:
space:
mode:
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