diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-03-26 23:23:23 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-03-26 23:23:23 +0000 |
commit | ed98036b76c3af9bd47bc0516c4cd6e0be66bb9e (patch) | |
tree | a77b35fe020001e18f26801f4587d41a423c3b47 | |
parent | c4e32cf008233c16bfd11813064db4732bd14a92 (diff) |
Make compile again after the recent SMP changes.
-rw-r--r-- | arch/mips64/sgi-ip22/ip22-int.c | 18 | ||||
-rw-r--r-- | arch/mips64/sgi-ip22/ip22-timer.c | 6 |
2 files changed, 12 insertions, 12 deletions
diff --git a/arch/mips64/sgi-ip22/ip22-int.c b/arch/mips64/sgi-ip22/ip22-int.c index a26ad631d..891e121f6 100644 --- a/arch/mips64/sgi-ip22/ip22-int.c +++ b/arch/mips64/sgi-ip22/ip22-int.c @@ -1,4 +1,4 @@ -/* $Id: ip22-int.c,v 1.4 2000/02/04 07:40:24 ralf Exp $ +/* $Id: ip22-int.c,v 1.5 2000/03/02 02:36:50 ralf Exp $ * * indy_int.c: Routines for generic manipulation of the INT[23] ASIC * found on INDY workstations.. @@ -290,7 +290,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[0][irq]++; printk("Got irq %d, press a key.", irq); @@ -326,7 +326,7 @@ asmlinkage void do_IRQ(int irq, struct pt_regs * regs) add_interrupt_randomness(irq); __cli(); } - irq_exit(cpu); + irq_exit(cpu, irq); /* unmasking and bottom half handling is done magically for us. */ } @@ -451,10 +451,10 @@ void indy_local0_irqdispatch(struct pt_regs *regs) action = local_irq_action[irq]; } - irq_enter(cpu); + irq_enter(cpu, irq); kstat.irqs[0][irq + 16]++; action->handler(irq, action->dev_id, regs); - irq_exit(cpu); + irq_exit(cpu, irq); } void indy_local1_irqdispatch(struct pt_regs *regs) @@ -475,10 +475,10 @@ void indy_local1_irqdispatch(struct pt_regs *regs) irq = lc1msk_to_irqnr[mask]; action = local_irq_action[irq]; } - irq_enter(cpu); + irq_enter(cpu, irq); kstat.irqs[0][irq + 24]++; action->handler(irq, action->dev_id, regs); - irq_exit(cpu); + irq_exit(cpu, irq); } void indy_buserror_irq(struct pt_regs *regs) @@ -486,13 +486,13 @@ void indy_buserror_irq(struct pt_regs *regs) int cpu = smp_processor_id(); int irq = 6; - irq_enter(cpu); + irq_enter(cpu, irq); kstat.irqs[0][irq]++; printk("Got a bus error IRQ, shouldn't happen yet\n"); show_regs(regs); printk("Spinning...\n"); while(1); - irq_exit(cpu); + irq_exit(cpu, irq); } /* Misc. crap just to keep the kernel linking... */ diff --git a/arch/mips64/sgi-ip22/ip22-timer.c b/arch/mips64/sgi-ip22/ip22-timer.c index cda6076e2..76b613e60 100644 --- a/arch/mips64/sgi-ip22/ip22-timer.c +++ b/arch/mips64/sgi-ip22/ip22-timer.c @@ -1,4 +1,4 @@ -/* $Id: ip22-timer.c,v 1.5 2000/01/21 22:34:03 ralf Exp $ +/* $Id: ip22-timer.c,v 1.6 2000/02/04 07:40:24 ralf Exp $ * * indy_timer.c: Setting up the clock on the INDY 8254 controller. * @@ -267,12 +267,12 @@ void indy_8254timer_irq(void) int cpu = smp_processor_id(); int irq = 4; - irq_enter(cpu); + irq_enter(cpu, irq); kstat.irqs[0][irq]++; printk("indy_8254timer_irq: Whoops, should not have gotten this IRQ\n"); prom_getchar(); ArcEnterInteractiveMode(); - irq_exit(cpu); + irq_exit(cpu, irq); } void do_gettimeofday(struct timeval *tv) |