patch-2.1.87 linux/arch/m68k/kernel/ints.c

Next file: linux/arch/m68k/kernel/m68k_defs.c
Previous file: linux/arch/m68k/kernel/head.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.86/linux/arch/m68k/kernel/ints.c linux/arch/m68k/kernel/ints.c
@@ -53,7 +53,7 @@
 
 unsigned int local_irq_count[NR_CPUS];
 
-int __m68k_bh_counter;
+unsigned int local_bh_count[NR_CPUS];
 
 static void dummy_enable_irq(unsigned int irq);
 static void dummy_disable_irq(unsigned int irq);
@@ -214,7 +214,7 @@
 {
 	if (vec >= VEC_INT1 && vec <= VEC_INT7) {
 		vec -= VEC_SPUR;
-		kstat.interrupts[vec]++;
+		kstat.irqs[0][vec]++;
 		irq_list[vec].handler(vec, irq_list[vec].dev_id, fp);
 	} else {
 		if (mach_process_int)
@@ -233,7 +233,7 @@
 	if (mach_default_handler) {
 		for (i = 0; i < SYS_IRQS; i++) {
 			len += sprintf(buf+len, "auto %2d: %10u ", i,
-			               i ? kstat.interrupts[i] : num_spurious);
+			               i ? kstat.irqs[0][i] : num_spurious);
 			if (irq_list[i].flags & IRQ_FLG_LOCK)
 				len += sprintf(buf+len, "L ");
 			else

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