X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fmips%2Fgt64120%2Fcommon%2Ftime.c;h=2287b59536e5e68ee104cebe11e3c47cb928f97c;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=44f33caf298ece3176fea066a89270e5744df9b7;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/arch/mips/gt64120/common/time.c b/arch/mips/gt64120/common/time.c index 44f33caf2..2287b5953 100644 --- a/arch/mips/gt64120/common/time.c +++ b/arch/mips/gt64120/common/time.c @@ -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 */