summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2006-10-17 02:24:47 +0000
committerdavidxu <davidxu@FreeBSD.org>2006-10-17 02:24:47 +0000
commitbb5a3880aaba619ef92556240b090b17a430f444 (patch)
treeb31b5290e903f0eb1069077900871403a7ca78f8 /sys/amd64
parentc0e6d5e6651f1b6140e24533f47bd20e2ca2952d (diff)
downloadFreeBSD-src-bb5a3880aaba619ef92556240b090b17a430f444.zip
FreeBSD-src-bb5a3880aaba619ef92556240b090b17a430f444.tar.gz
o Add keyword volatile for user mutex owner field.
o Fix type consistent problem by using type long for old umtx and wait channel. o Rename casuptr to casuword.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/support.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/support.S b/sys/amd64/amd64/support.S
index 4e8efdf..cea965f 100644
--- a/sys/amd64/amd64/support.S
+++ b/sys/amd64/amd64/support.S
@@ -342,10 +342,10 @@ ENTRY(casuword32)
ret
/*
- * casuptr. Compare and set user pointer. Returns -1 or the current value.
+ * casuword. Compare and set user word. Returns -1 or the current value.
* dst = %rdi, old = %rsi, new = %rdx
*/
-ENTRY(casuptr)
+ENTRY(casuword)
movq PCPU(CURPCB),%rcx
movq $fusufault,PCB_ONFAULT(%rcx)
OpenPOWER on IntegriCloud