patch-2.1.37 linux/include/asm-alpha/atomic.h

Next file: linux/include/asm-alpha/bitops.h
Previous file: linux/fs/vfat/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/include/asm-alpha/atomic.h linux/include/asm-alpha/atomic.h
@@ -41,9 +41,9 @@
 	"	addl %0,%2,%0\n"
 	"	stl_c %0,%1\n"
 	"	beq %0,2f\n"
-	".text 2\n"
+	".section .text2,\"ax\"\n"
 	"2:	br 1b\n"
-	".text"
+	".previous"
 	:"=&r" (temp), "=m" (__atomic_fool_gcc(v))
 	:"Ir" (i), "m" (__atomic_fool_gcc(v)));
 }
@@ -56,9 +56,9 @@
 	"	subl %0,%2,%0\n"
 	"	stl_c %0,%1\n"
 	"	beq %0,2f\n"
-	".text 2\n"
+	".section .text2,\"ax\"\n"
 	"2:	br 1b\n"
-	".text"
+	".previous"
 	:"=&r" (temp), "=m" (__atomic_fool_gcc(v))
 	:"Ir" (i), "m" (__atomic_fool_gcc(v)));
 }
@@ -75,9 +75,9 @@
 	"	mov %0,%2\n"
 	"	stl_c %0,%1\n"
 	"	beq %0,2f\n"
-	".text 2\n"
+	".section .text2,\"ax\"\n"
 	"2:	br 1b\n"
-	".text"
+	".previous"
 	:"=&r" (temp), "=m" (__atomic_fool_gcc(v)), "=&r" (result)
 	:"Ir" (i), "m" (__atomic_fool_gcc(v)));
 	return result;
@@ -92,9 +92,9 @@
 	"	mov %0,%2\n"
 	"	stl_c %0,%1\n"
 	"	beq %0,2f\n"
-	".text 2\n"
+	".section .text2,\"ax\"\n"
 	"2:	br 1b\n"
-	".text"
+	".previous"
 	:"=&r" (temp), "=m" (__atomic_fool_gcc(v)), "=&r" (result)
 	:"Ir" (i), "m" (__atomic_fool_gcc(v)));
 	return result;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov