patch-2.1.81 linux/arch/alpha/kernel/irq.c
Next file: linux/arch/alpha/lib/csum_partial_copy.c
Previous file: linux/Makefile
Back to the patch index
Back to the overall index
- Lines: 35
- Date:
Wed Jan 21 17:46:00 1998
- Orig file:
v2.1.80/linux/arch/alpha/kernel/irq.c
- Orig date:
Mon Jan 12 14:51:14 1998
diff -u --recursive --new-file v2.1.80/linux/arch/alpha/kernel/irq.c linux/arch/alpha/kernel/irq.c
@@ -373,7 +373,7 @@
if (!action)
continue;
len += sprintf(buf+len, "%2d: %10u %c %s",
- i, kstat.interrupts[i],
+ i, kstat.interrupts[0][i],
(action->flags & SA_INTERRUPT) ? '+' : ' ',
action->name);
for (action=action->next; action; action = action->next) {
@@ -567,7 +567,7 @@
int cpu = smp_processor_id();
irq_enter(cpu, irq);
- kstat.interrupts[irq]++;
+ kstat.interrupts[0][irq] += 1;
if (!action) {
unexpected_irq(irq, regs);
} else {
@@ -590,7 +590,7 @@
}
irq_enter(cpu, irq);
- kstat.interrupts[irq]++;
+ kstat.interrupts[0][irq] += 1;
action = irq_action[irq];
/*
* For normal interrupts, we mask it out, and then ACK it.
@@ -1050,7 +1050,6 @@
*/
int probe_irq_off(unsigned long irqs)
{
- unsigned long delay;
int i;
irqs &= irq_mask;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov