MIPS: MIPS boards: Get rid of useless SMP/non-SMP casing. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Ralf Baechle and committed by
11e6df65 b4672d37

+2 -13
+2 -13
arch/mips/mips-boards/generic/time.c
··· 77 78 irqreturn_t mips_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) 79 { 80 - #ifdef CONFIG_SMP 81 int cpu = smp_processor_id(); 82 83 if (cpu == 0) { ··· 84 * CPU 0 handles the global timer interrupt job and process accounting 85 * resets count/compare registers to trigger next timer int. 86 */ 87 - (void) timer_interrupt(irq, dev_id, regs); 88 scroll_display_message(); 89 - } 90 - else { 91 /* Everyone else needs to reset the timer int here as 92 ll_local_timer_interrupt doesn't */ 93 /* ··· 102 } 103 104 return IRQ_HANDLED; 105 - #else 106 - irqreturn_t r; 107 - 108 - r = timer_interrupt(irq, dev_id, regs); 109 - 110 - scroll_display_message(); 111 - 112 - return r; 113 - #endif 114 } 115 116 /*
··· 77 78 irqreturn_t mips_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) 79 { 80 int cpu = smp_processor_id(); 81 82 if (cpu == 0) { ··· 85 * CPU 0 handles the global timer interrupt job and process accounting 86 * resets count/compare registers to trigger next timer int. 87 */ 88 + timer_interrupt(irq, dev_id, regs); 89 scroll_display_message(); 90 + } else { 91 /* Everyone else needs to reset the timer int here as 92 ll_local_timer_interrupt doesn't */ 93 /* ··· 104 } 105 106 return IRQ_HANDLED; 107 } 108 109 /*