patch-2.4.19 linux-2.4.19/include/asm-i386/softirq.h

Next file: linux-2.4.19/include/asm-i386/spinlock.h
Previous file: linux-2.4.19/include/asm-i386/smplock.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/asm-i386/softirq.h linux-2.4.19/include/asm-i386/softirq.h
@@ -3,7 +3,6 @@
 
 #include <asm/atomic.h>
 #include <asm/hardirq.h>
-#include <linux/stringify.h>
 
 #define __cpu_bh_enable(cpu) \
 		do { barrier(); local_bh_count(cpu)--; } while (0)
@@ -34,15 +33,12 @@
 			"jnz 2f;"					\
 			"1:;"						\
 									\
-			".subsection 1;"				\
-			".ifndef _text_lock_" __stringify(KBUILD_BASENAME) "\n"		\
-			"_text_lock_" __stringify(KBUILD_BASENAME) ":\n"		\
-			".endif\n"					\
+			LOCK_SECTION_START("")				\
 			"2: pushl %%eax; pushl %%ecx; pushl %%edx;"	\
 			"call %c1;"					\
 			"popl %%edx; popl %%ecx; popl %%eax;"		\
 			"jmp 1b;"					\
-			".subsection 0;"				\
+			LOCK_SECTION_END				\
 									\
 		: /* no output */					\
 		: "r" (ptr), "i" (do_softirq)				\

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