diff options
-rw-r--r-- | arch/mips/sibyte/sb1250/time.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/arch/mips/sibyte/sb1250/time.c b/arch/mips/sibyte/sb1250/time.c index 6f87f52d482b..511c89d65f38 100644 --- a/arch/mips/sibyte/sb1250/time.c +++ b/arch/mips/sibyte/sb1250/time.c | |||
@@ -107,17 +107,18 @@ void sb1250_timer_interrupt(struct pt_regs *regs) | |||
107 | ____raw_writeq(M_SCD_TIMER_ENABLE | M_SCD_TIMER_MODE_CONTINUOUS, | 107 | ____raw_writeq(M_SCD_TIMER_ENABLE | M_SCD_TIMER_MODE_CONTINUOUS, |
108 | IOADDR(A_SCD_TIMER_REGISTER(cpu, R_SCD_TIMER_CFG))); | 108 | IOADDR(A_SCD_TIMER_REGISTER(cpu, R_SCD_TIMER_CFG))); |
109 | 109 | ||
110 | /* | ||
111 | * CPU 0 handles the global timer interrupt job | ||
112 | */ | ||
113 | if (cpu == 0) { | 110 | if (cpu == 0) { |
111 | /* | ||
112 | * CPU 0 handles the global timer interrupt job | ||
113 | */ | ||
114 | ll_timer_interrupt(irq, regs); | 114 | ll_timer_interrupt(irq, regs); |
115 | } | 115 | } |
116 | 116 | else { | |
117 | /* | 117 | /* |
118 | * every CPU should do profiling and process accouting | 118 | * other CPUs should just do profiling and process accounting |
119 | */ | 119 | */ |
120 | ll_local_timer_interrupt(irq, regs); | 120 | ll_local_timer_interrupt(irq, regs); |
121 | } | ||
121 | } | 122 | } |
122 | 123 | ||
123 | /* | 124 | /* |