patch-2.1.87 linux/arch/m68k/amiga/amiints.c

Next file: linux/arch/m68k/amiga/cia.c
Previous file: linux/arch/m68k/amiga/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.86/linux/arch/m68k/amiga/amiints.c linux/arch/m68k/amiga/amiints.c
@@ -331,7 +331,7 @@
 
 inline void amiga_do_irq(int irq, struct pt_regs *fp)
 {
-	kstat.interrupts[SYS_IRQS + irq]++;
+	kstat.irqs[0][SYS_IRQS + irq]++;
 	ami_irq_list[irq]->handler(irq, ami_irq_list[irq]->dev_id, fp);
 }
 
@@ -340,7 +340,7 @@
 	irq_node_t *node, *slow_nodes;
 	unsigned short flags;
 
-	kstat.interrupts[SYS_IRQS + irq]++;
+	kstat.irqs[0][SYS_IRQS + irq]++;
 	if (server->count++)
 		server->reentrance = 1;
 	/* serve first fast and normal handlers */
@@ -489,7 +489,7 @@
 		if (node->flags & IRQ_FLG_STD)
 			continue;
 		len += sprintf(buf+len, "ami  %2d: %10u ", i,
-		               kstat.interrupts[SYS_IRQS + i]);
+		               kstat.irqs[0][SYS_IRQS + i]);
 		do {
 			if (ami_servers[i]) {
 				if (node->flags & IRQ_FLG_FAST)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov