diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/galileo-boards/ev96100/irq.c | 4 | ||||
-rw-r--r-- | arch/mips/kernel/old-irq.c | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/arch/mips/galileo-boards/ev96100/irq.c b/arch/mips/galileo-boards/ev96100/irq.c index 0458e643b..3cff158fa 100644 --- a/arch/mips/galileo-boards/ev96100/irq.c +++ b/arch/mips/galileo-boards/ev96100/irq.c @@ -197,7 +197,7 @@ asmlinkage void do_IRQ(unsigned long cause, struct pt_regs *regs) return; /* should not happen */ cpu = smp_processor_id(); - irq_enter(cpu); + irq_enter(cpu, irq); kstat.irqs[cpu][irq]++; status = 0; @@ -233,7 +233,7 @@ asmlinkage void do_IRQ(unsigned long cause, struct pt_regs *regs) irq_desc[irq].handler->end(irq); } - irq_exit(cpu); + irq_exit(cpu, irq); if (softirq_active(cpu) & softirq_mask(cpu)) do_softirq(); diff --git a/arch/mips/kernel/old-irq.c b/arch/mips/kernel/old-irq.c index 448d7538a..090da659a 100644 --- a/arch/mips/kernel/old-irq.c +++ b/arch/mips/kernel/old-irq.c @@ -6,7 +6,7 @@ * Code to handle x86 style IRQs plus some generic interrupt stuff. * * Copyright (C) 1992 Linus Torvalds - * Copyright (C) 1994 - 2000 Ralf Baechle + * Copyright (C) 1994 - 2001 Ralf Baechle * * Old rotten IRQ code. To be killed as soon as everybody had converted or * in 2.5.0, whatever comes first. @@ -162,7 +162,7 @@ asmlinkage void i8259_do_irq(int irq, struct pt_regs *regs) int do_random, cpu; cpu = smp_processor_id(); - irq_enter(cpu); + irq_enter(cpu, irq); if (irq >= 16) goto out; @@ -190,7 +190,7 @@ asmlinkage void i8259_do_irq(int irq, struct pt_regs *regs) unmask_irq (irq); out: - irq_exit(cpu); + irq_exit(cpu, irq); } /* @@ -206,7 +206,7 @@ asmlinkage void do_IRQ(int irq, struct pt_regs * regs) int do_random, cpu; cpu = smp_processor_id(); - irq_enter(cpu); + irq_enter(cpu, irq); kstat.irqs[cpu][irq]++; action = *(irq + irq_action); @@ -224,7 +224,7 @@ asmlinkage void do_IRQ(int irq, struct pt_regs * regs) add_interrupt_randomness(irq); __cli(); } - irq_exit(cpu); + irq_exit(cpu, irq); if (softirq_active(cpu)&softirq_mask(cpu)) do_softirq(); |