diff options
author | davidxu <davidxu@FreeBSD.org> | 2006-10-17 02:24:47 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2006-10-17 02:24:47 +0000 |
commit | bb5a3880aaba619ef92556240b090b17a430f444 (patch) | |
tree | b31b5290e903f0eb1069077900871403a7ca78f8 /sys/amd64 | |
parent | c0e6d5e6651f1b6140e24533f47bd20e2ca2952d (diff) | |
download | FreeBSD-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.S | 4 |
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) |