patch-2.4.21 linux-2.4.21/include/asm-x86_64/softirq.h

Next file: linux-2.4.21/include/asm-x86_64/spinlock.h
Previous file: linux-2.4.21/include/asm-x86_64/smp.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/include/asm-x86_64/softirq.h linux-2.4.21/include/asm-x86_64/softirq.h
@@ -32,17 +32,12 @@
 			"cmpl $0, -8(%0);"				\
 			"jnz 2f;"					\
 			"1:;"						\
-									\
-                   ".subsection 1\n" \
-                   ".ifndef _text_lock_" __stringify(KBUILD_BASENAME) "\n" \
-                   "_text_lock_" __stringify(KBUILD_BASENAME) ":\n" \
-                   ".endif\n" \
+			LOCK_SECTION_START("") 		\
 			"2:"	\
 			"call do_softirq_thunk;"		\
 			""		\
 			"jmp 1b;"					\
-			".subsection 0;"				\
-									\
+			LOCK_SECTION_END			\
 		: /* no output */					\
 		: "r" (ptr)				\
 		/* no registers clobbered */ );				\

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