diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c index 4141dbf5a473..6be75899b33e 100644 --- a/sys/kern/kern_mutex.c +++ b/sys/kern/kern_mutex.c @@ -232,7 +232,7 @@ mtx_enter_hard(struct mtx *m, int type, int saveintr) CTR3(KTR_LOCK, "mtx_enter: 0x%p contested (lock=%p) [0x%p]", m, m->mtx_lock, RETIP(m)); while (!_obtain_lock(m, p)) { - int v; + uintptr_t v; struct proc *p1; mtx_enter(&sched_lock, MTX_SPIN | MTX_RLIKELY); diff --git a/sys/kern/subr_turnstile.c b/sys/kern/subr_turnstile.c index 4141dbf5a473..6be75899b33e 100644 --- a/sys/kern/subr_turnstile.c +++ b/sys/kern/subr_turnstile.c @@ -232,7 +232,7 @@ mtx_enter_hard(struct mtx *m, int type, int saveintr) CTR3(KTR_LOCK, "mtx_enter: 0x%p contested (lock=%p) [0x%p]", m, m->mtx_lock, RETIP(m)); while (!_obtain_lock(m, p)) { - int v; + uintptr_t v; struct proc *p1; mtx_enter(&sched_lock, MTX_SPIN | MTX_RLIKELY); diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c index 4141dbf5a473..6be75899b33e 100644 --- a/sys/kern/subr_witness.c +++ b/sys/kern/subr_witness.c @@ -232,7 +232,7 @@ mtx_enter_hard(struct mtx *m, int type, int saveintr) CTR3(KTR_LOCK, "mtx_enter: 0x%p contested (lock=%p) [0x%p]", m, m->mtx_lock, RETIP(m)); while (!_obtain_lock(m, p)) { - int v; + uintptr_t v; struct proc *p1; mtx_enter(&sched_lock, MTX_SPIN | MTX_RLIKELY);