From: James S. <jsi...@us...> - 2001-10-11 19:19:56
|
Update of /cvsroot/linux-mips/linux/arch/mips/kernel In directory usw-pr-cvs1:/tmp/cvs-serv12205/mips/kernel Modified Files: old-time.c Log Message: Fix load 1 problem. Index: old-time.c =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips/kernel/old-time.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- old-time.c 2001/10/05 17:07:14 1.5 +++ old-time.c 2001/10/11 19:19:52 1.6 @@ -441,10 +441,12 @@ void indy_r4k_timer_interrupt (struct pt_regs *regs) { - static const int INDY_R4K_TIMER_IRQ = 7; int cpu = smp_processor_id(); + int irq = 7; - r4k_timer_interrupt (INDY_R4K_TIMER_IRQ, NULL, regs); + irq_enter(cpu, irq); + r4k_timer_interrupt(irq, NULL, regs); + irq_exit(cpu, irq); if (softirq_pending(cpu)) do_softirq(); |