patch-2.4.18 linux/arch/arm/kernel/semaphore.c
Next file: linux/arch/arm/vmlinux-armo.lds.in
Previous file: linux/arch/arm/kernel/entry-common.S
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
Thu Jan 10 20:08:20 2002
- Orig file:
linux.orig/arch/arm/kernel/semaphore.c
- Orig date:
Mon Feb 18 20:18:39 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/arch/arm/kernel/semaphore.c linux/arch/arm/kernel/semaphore.c
@@ -177,8 +177,7 @@
* value in some cases..
*/
#ifdef CONFIG_CPU_26
-asm(" .section .text.lock, \"ax\"
- .align 5
+asm(" .align 5
.globl __down_failed
__down_failed:
stmfd sp!, {r0 - r3, lr}
@@ -212,13 +211,11 @@
bl __up
ldmfd sp!, {r0 - r3, pc}^
- .previous
");
#else
/* 32 bit version */
-asm(" .section .text.lock, \"ax\"
- .align 5
+asm(" .align 5
.globl __down_failed
__down_failed:
stmfd sp!, {r0 - r3, lr}
@@ -252,7 +249,6 @@
bl __up
ldmfd sp!, {r0 - r3, pc}
- .previous
");
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)