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

Next file: linux/arch/sh/kernel/process.c
Previous file: linux/arch/sh/kernel/io_generic.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/arch/sh/kernel/irq.c linux/arch/sh/kernel/irq.c
@@ -41,8 +41,8 @@
 #include <asm/hd64461.h>
 #endif
 
-unsigned int local_bh_count[NR_CPUS];
-unsigned int local_irq_count[NR_CPUS];
+unsigned int __local_bh_count[NR_CPUS];
+unsigned int __local_irq_count[NR_CPUS];
 
 /*
  * Micro-access to controllers is serialized over the whole
@@ -183,7 +183,7 @@
 {
 	disable_irq_nosync(irq);
 
-	if (!local_irq_count[smp_processor_id()]) {
+	if (!__local_irq_count[smp_processor_id()]) {
 		do {
 			barrier();
 		} while (irq_desc[irq].status & IRQ_INPROGRESS);

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