upgrade to linux 2.6.10-1.12_FC2
[linux-2.6.git] / arch / mips / momentum / ocelot_g / gt-irq.c
index 9370896..70ccf39 100644 (file)
@@ -134,6 +134,9 @@ static irqreturn_t gt64240_p0int_irq(int irq, void *dev, struct pt_regs *regs)
 
                /* handle the timer call */
                do_timer(regs);
+#ifndef CONFIG_SMP
+               update_process_times(user_mode(regs));
+#endif
        }
 
        if (irq_src) {
@@ -156,7 +159,6 @@ static irqreturn_t gt64240_p0int_irq(int irq, void *dev, struct pt_regs *regs)
  */
 void gt64240_time_init(void)
 {
-       extern irq_desc_t irq_desc[NR_IRQS];
        static struct irqaction timer;
 
        /* Stop the timer -- we'll use timer #0 */