patch-2.4.0-test5 linux/arch/s390/kernel/irq.c

Next file: linux/arch/sh/Makefile
Previous file: linux/arch/ppc/kernel/syscalls.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/arch/s390/kernel/irq.c linux/arch/s390/kernel/irq.c
@@ -45,8 +45,6 @@
                      const char    *devname,
                      void          *dev_id);
 
-atomic_t nmi_counter;
-
 #if 0
 /*
  * The following vectors are part of the Linux architecture, there
@@ -105,7 +103,7 @@
 	
 	} /* endfor */
 
-	p += sprintf(p, "NMI: %10u\n", atomic_read(&nmi_counter));
+	p += sprintf(p, "NMI: %10u\n", nmi_counter);
 #ifdef CONFIG_SMP
 	p += sprintf(p, "IPI: %10u\n", atomic_read(&ipi_count));
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)