mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-20 15:43:16 +00:00
Quite some warnings.
This commit is contained in:
parent
a62264fb74
commit
3127162743
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67548
@ -230,7 +230,7 @@ mtx_enter_hard(struct mtx *m, int type, int saveintr)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
CTR3(KTR_LOCK, "mtx_enter: 0x%p contested (lock=%p) [0x%p]",
|
CTR3(KTR_LOCK, "mtx_enter: 0x%p contested (lock=%p) [0x%p]",
|
||||||
m, m->mtx_lock, RETIP(m));
|
m, (void *)m->mtx_lock, (void *)RETIP(m));
|
||||||
while (!_obtain_lock(m, p)) {
|
while (!_obtain_lock(m, p)) {
|
||||||
uintptr_t v;
|
uintptr_t v;
|
||||||
struct proc *p1;
|
struct proc *p1;
|
||||||
@ -460,10 +460,10 @@ mtx_exit_hard(struct mtx *m, int type)
|
|||||||
#endif
|
#endif
|
||||||
setrunqueue(p);
|
setrunqueue(p);
|
||||||
CTR2(KTR_LOCK, "mtx_exit: 0x%p switching out lock=0x%p",
|
CTR2(KTR_LOCK, "mtx_exit: 0x%p switching out lock=0x%p",
|
||||||
m, m->mtx_lock);
|
m, (void *)m->mtx_lock);
|
||||||
mi_switch();
|
mi_switch();
|
||||||
CTR2(KTR_LOCK, "mtx_exit: 0x%p resuming lock=0x%p",
|
CTR2(KTR_LOCK, "mtx_exit: 0x%p resuming lock=0x%p",
|
||||||
m, m->mtx_lock);
|
m, (void *)m->mtx_lock);
|
||||||
}
|
}
|
||||||
mtx_exit(&sched_lock, MTX_SPIN);
|
mtx_exit(&sched_lock, MTX_SPIN);
|
||||||
break;
|
break;
|
||||||
|
@ -230,7 +230,7 @@ mtx_enter_hard(struct mtx *m, int type, int saveintr)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
CTR3(KTR_LOCK, "mtx_enter: 0x%p contested (lock=%p) [0x%p]",
|
CTR3(KTR_LOCK, "mtx_enter: 0x%p contested (lock=%p) [0x%p]",
|
||||||
m, m->mtx_lock, RETIP(m));
|
m, (void *)m->mtx_lock, (void *)RETIP(m));
|
||||||
while (!_obtain_lock(m, p)) {
|
while (!_obtain_lock(m, p)) {
|
||||||
uintptr_t v;
|
uintptr_t v;
|
||||||
struct proc *p1;
|
struct proc *p1;
|
||||||
@ -460,10 +460,10 @@ mtx_exit_hard(struct mtx *m, int type)
|
|||||||
#endif
|
#endif
|
||||||
setrunqueue(p);
|
setrunqueue(p);
|
||||||
CTR2(KTR_LOCK, "mtx_exit: 0x%p switching out lock=0x%p",
|
CTR2(KTR_LOCK, "mtx_exit: 0x%p switching out lock=0x%p",
|
||||||
m, m->mtx_lock);
|
m, (void *)m->mtx_lock);
|
||||||
mi_switch();
|
mi_switch();
|
||||||
CTR2(KTR_LOCK, "mtx_exit: 0x%p resuming lock=0x%p",
|
CTR2(KTR_LOCK, "mtx_exit: 0x%p resuming lock=0x%p",
|
||||||
m, m->mtx_lock);
|
m, (void *)m->mtx_lock);
|
||||||
}
|
}
|
||||||
mtx_exit(&sched_lock, MTX_SPIN);
|
mtx_exit(&sched_lock, MTX_SPIN);
|
||||||
break;
|
break;
|
||||||
|
@ -230,7 +230,7 @@ mtx_enter_hard(struct mtx *m, int type, int saveintr)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
CTR3(KTR_LOCK, "mtx_enter: 0x%p contested (lock=%p) [0x%p]",
|
CTR3(KTR_LOCK, "mtx_enter: 0x%p contested (lock=%p) [0x%p]",
|
||||||
m, m->mtx_lock, RETIP(m));
|
m, (void *)m->mtx_lock, (void *)RETIP(m));
|
||||||
while (!_obtain_lock(m, p)) {
|
while (!_obtain_lock(m, p)) {
|
||||||
uintptr_t v;
|
uintptr_t v;
|
||||||
struct proc *p1;
|
struct proc *p1;
|
||||||
@ -460,10 +460,10 @@ mtx_exit_hard(struct mtx *m, int type)
|
|||||||
#endif
|
#endif
|
||||||
setrunqueue(p);
|
setrunqueue(p);
|
||||||
CTR2(KTR_LOCK, "mtx_exit: 0x%p switching out lock=0x%p",
|
CTR2(KTR_LOCK, "mtx_exit: 0x%p switching out lock=0x%p",
|
||||||
m, m->mtx_lock);
|
m, (void *)m->mtx_lock);
|
||||||
mi_switch();
|
mi_switch();
|
||||||
CTR2(KTR_LOCK, "mtx_exit: 0x%p resuming lock=0x%p",
|
CTR2(KTR_LOCK, "mtx_exit: 0x%p resuming lock=0x%p",
|
||||||
m, m->mtx_lock);
|
m, (void *)m->mtx_lock);
|
||||||
}
|
}
|
||||||
mtx_exit(&sched_lock, MTX_SPIN);
|
mtx_exit(&sched_lock, MTX_SPIN);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user