diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_mutex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c index 27df45c10757..063456ec9f97 100644 --- a/sys/kern/kern_mutex.c +++ b/sys/kern/kern_mutex.c @@ -463,7 +463,7 @@ __mtx_lock_sleep(volatile uintptr_t *c, uintptr_t v) struct turnstile *ts; uintptr_t tid; #ifdef ADAPTIVE_MUTEXES - volatile struct thread *owner; + struct thread *owner; #endif #ifdef KTR int cont_logged = 0; @@ -1003,7 +1003,7 @@ __mtx_unlock_sleep(volatile uintptr_t *c) { struct mtx *m; struct turnstile *ts; - uintptr_t tid; + uintptr_t tid, v; if (SCHEDULER_STOPPED()) return; |