patch-2.2.4 linux/include/asm-alpha/semaphore.h

Next file: linux/include/asm-alpha/sysinfo.h
Previous file: linux/include/asm-alpha/semaphore-helper.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.3/linux/include/asm-alpha/semaphore.h linux/include/asm-alpha/semaphore.h
@@ -141,8 +141,8 @@
 		"	subq	%1,1,%1\n"
 		"	blt	%2,2f\n"
 		"	blt	%1,2f\n"
-		"	ldah	%1,0x8000(%1)\n"
-		"	ldah	%1,0x8000(%1)\n"
+		"	ldah	%1,-32768(%1)\n"
+		"	ldah	%1,-32768(%1)\n"
 		"	lda	%0,1\n"
 		"	stq_c	%1,%3\n"
 		"	beq	%1,3f\n"

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