diff options
author | David Xu <davidxu@FreeBSD.org> | 2006-10-17 02:24:47 +0000 |
---|---|---|
committer | David Xu <davidxu@FreeBSD.org> | 2006-10-17 02:24:47 +0000 |
commit | 5f641fc0fbdd4d6f2492cf3b735b5f3ac64c6e0f (patch) | |
tree | b31b5290e903f0eb1069077900871403a7ca78f8 /sys/amd64/amd64/support.S | |
parent | b7e440b5950c4cc4f5172b6ec1e5b50650f44d37 (diff) | |
download | src-5f641fc0fbdd4d6f2492cf3b735b5f3ac64c6e0f.tar.gz src-5f641fc0fbdd4d6f2492cf3b735b5f3ac64c6e0f.zip |
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.
Notes
Notes:
svn path=/head/; revision=163449
Diffstat (limited to 'sys/amd64/amd64/support.S')
-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 4e8efdfa5903..cea965f63b7b 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) |