patch-2.4.0-test9 linux/include/asm-alpha/semaphore-helper.h

Next file: linux/include/asm-alpha/spinlock.h
Previous file: linux/include/asm-alpha/resource.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test8/linux/include/asm-alpha/semaphore-helper.h linux/include/asm-alpha/semaphore-helper.h
@@ -37,7 +37,7 @@
 		".subsection 2\n"
 		"3:	br	1b\n"
 		".previous"
-		: "=r"(ret), "=r"(tmp), "=m"(__atomic_fool_gcc(&sem->waking))
+		: "=r"(ret), "=r"(tmp), "=m"(sem->waking.counter)
 		: "0"(0));
 
 	return ret > 0;

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