vserver 1.9.5.x5
[linux-2.6.git] / arch / mips / gt64120 / common / time.c
index 44f33ca..2287b59 100644 (file)
@@ -36,6 +36,9 @@ static void gt64120_irq(int irq, void *dev_id, struct pt_regs *regs)
                handled = 1;
                irq_src &= ~0x00000800;
                do_timer(regs);
+#ifndef CONFIG_SMP
+               update_process_times(user_mode(regs));
+#endif
        }
 
        GT_WRITE(GT_INTRCAUSE_OFS, 0);
@@ -62,7 +65,6 @@ static void gt64120_irq(int irq, void *dev_id, struct pt_regs *regs)
  */
 void gt64120_time_init(void)
 {
-       extern irq_desc_t irq_desc[NR_IRQS];
        static struct irqaction timer;
 
        /* Disable timer first */