summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64/include/mutex.h')
-rw-r--r--sys/amd64/include/mutex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/mutex.h b/sys/amd64/include/mutex.h
index b0fe512..ae37b23 100644
--- a/sys/amd64/include/mutex.h
+++ b/sys/amd64/include/mutex.h
@@ -250,7 +250,7 @@ extern struct mtx clock_lock;
pushl %ecx ; \
pushl %ebx ; \
movl $(MTX_UNOWNED) , %eax ; \
- movl PCPU(CURPROC), %ebx ; \
+ movl PCPU(CURTHREAD), %ebx ; \
pushfl ; \
popl %ecx ; \
cli ; \
OpenPOWER on IntegriCloud