aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-12-09 07:09:22 -0500
committer <ralf@denk.linux-mips.net>2006-01-10 08:39:07 -0500
commit11e6df65dc2bae8e7ad17ff81611ddc850b279cd (patch)
tree5a7ec8e178bb4aa5f12e130f7d0265e9206660da
parentb4672d37293cb045ec4d57e8b76a62810c96da71 (diff)
MIPS: MIPS boards: Get rid of useless SMP/non-SMP casing.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/mips-boards/generic/time.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/arch/mips/mips-boards/generic/time.c b/arch/mips/mips-boards/generic/time.c
index 72a12d931cba..2830f656fe2f 100644
--- a/arch/mips/mips-boards/generic/time.c
+++ b/arch/mips/mips-boards/generic/time.c
@@ -77,7 +77,6 @@ static void mips_timer_dispatch (struct pt_regs *regs)
77 77
78irqreturn_t mips_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) 78irqreturn_t mips_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
79{ 79{
80#ifdef CONFIG_SMP
81 int cpu = smp_processor_id(); 80 int cpu = smp_processor_id();
82 81
83 if (cpu == 0) { 82 if (cpu == 0) {
@@ -85,10 +84,9 @@ irqreturn_t mips_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
85 * CPU 0 handles the global timer interrupt job and process accounting 84 * CPU 0 handles the global timer interrupt job and process accounting
86 * resets count/compare registers to trigger next timer int. 85 * resets count/compare registers to trigger next timer int.
87 */ 86 */
88 (void) timer_interrupt(irq, dev_id, regs); 87 timer_interrupt(irq, dev_id, regs);
89 scroll_display_message(); 88 scroll_display_message();
90 } 89 } else {
91 else {
92 /* Everyone else needs to reset the timer int here as 90 /* Everyone else needs to reset the timer int here as
93 ll_local_timer_interrupt doesn't */ 91 ll_local_timer_interrupt doesn't */
94 /* 92 /*
@@ -104,15 +102,6 @@ irqreturn_t mips_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
104 } 102 }
105 103
106 return IRQ_HANDLED; 104 return IRQ_HANDLED;
107#else
108 irqreturn_t r;
109
110 r = timer_interrupt(irq, dev_id, regs);
111
112 scroll_display_message();
113
114 return r;
115#endif
116} 105}
117 106
118/* 107/*