linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / arch / mips / sibyte / bcm1480 / time.c
index 7e088f6..e545752 100644 (file)
@@ -25,6 +25,7 @@
  * code to do general bookkeeping (e.g. update jiffies, run
  * bottom halves, etc.)
  */
+#include <linux/config.h>
 #include <linux/interrupt.h>
 #include <linux/sched.h>
 #include <linux/spinlock.h>
@@ -109,18 +110,17 @@ void bcm1480_timer_interrupt(struct pt_regs *regs)
        __raw_writeq(M_SCD_TIMER_ENABLE|M_SCD_TIMER_MODE_CONTINUOUS,
              IOADDR(A_SCD_TIMER_REGISTER(cpu, R_SCD_TIMER_CFG)));
 
+       /*
+        * CPU 0 handles the global timer interrupt job
+        */
        if (cpu == 0) {
-               /*
-                * CPU 0 handles the global timer interrupt job
-                */
                ll_timer_interrupt(irq, regs);
        }
-       else {
-               /*
-                * other CPUs should just do profiling and process accounting
-                */
-               ll_local_timer_interrupt(irq, regs);
-       }
+
+       /*
+        * every CPU should do profiling and process accouting
+        */
+       ll_local_timer_interrupt(irq, regs);
 }
 
 /*