patch-2.4.0-test6 linux/include/asm-sparc64/softirq.h

Next file: linux/include/asm-sparc64/stat.h
Previous file: linux/include/asm-sparc64/smp.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test5/linux/include/asm-sparc64/softirq.h linux/include/asm-sparc64/softirq.h
@@ -6,17 +6,9 @@
 #ifndef __SPARC64_SOFTIRQ_H
 #define __SPARC64_SOFTIRQ_H
 
-#include <linux/config.h>
 #include <asm/atomic.h>
 #include <asm/hardirq.h>
 #include <asm/system.h>		/* for membar() */
-
-#ifndef CONFIG_SMP
-extern unsigned int __local_bh_count;
-#define local_bh_count(cpu)	__local_bh_count
-#else
-#define local_bh_count(cpu)	(cpu_data[cpu].bh_count)
-#endif
 
 #define local_bh_disable()	(local_bh_count(smp_processor_id())++)
 #define local_bh_enable()	(local_bh_count(smp_processor_id())--)

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