patch-2.0.21 linux/include/asm-i386/semaphore.h

Next file: linux/include/linux/cdrom.h
Previous file: linux/fs/super.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.20/linux/include/asm-i386/semaphore.h linux/include/asm-i386/semaphore.h
@@ -34,7 +34,7 @@
 	__asm__ __volatile__(
 		"# atomic down operation\n"
 		"1:\n\t"
-		"leal 1b,%%eax\n\t"
+		"movl $1b,%%eax\n\t"
 #ifdef __SMP__
 		"lock ; "
 #endif
@@ -55,7 +55,7 @@
 {
 	__asm__ __volatile__(
 		"# atomic up operation\n\t"
-		"leal 1f,%%eax\n\t"
+		"movl $1f,%%eax\n\t"
 #ifdef __SMP__
 		"lock ; "
 #endif

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