1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Quite some warnings.

This commit is contained in:
John Baldwin 2000-10-25 04:37:54 +00:00
parent a62264fb74
commit 3127162743
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67548
3 changed files with 9 additions and 9 deletions

View File

@ -230,7 +230,7 @@ mtx_enter_hard(struct mtx *m, int type, int saveintr)
return;
}
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)) {
uintptr_t v;
struct proc *p1;
@ -460,10 +460,10 @@ mtx_exit_hard(struct mtx *m, int type)
#endif
setrunqueue(p);
CTR2(KTR_LOCK, "mtx_exit: 0x%p switching out lock=0x%p",
m, m->mtx_lock);
m, (void *)m->mtx_lock);
mi_switch();
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);
break;

View File

@ -230,7 +230,7 @@ mtx_enter_hard(struct mtx *m, int type, int saveintr)
return;
}
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)) {
uintptr_t v;
struct proc *p1;
@ -460,10 +460,10 @@ mtx_exit_hard(struct mtx *m, int type)
#endif
setrunqueue(p);
CTR2(KTR_LOCK, "mtx_exit: 0x%p switching out lock=0x%p",
m, m->mtx_lock);
m, (void *)m->mtx_lock);
mi_switch();
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);
break;

View File

@ -230,7 +230,7 @@ mtx_enter_hard(struct mtx *m, int type, int saveintr)
return;
}
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)) {
uintptr_t v;
struct proc *p1;
@ -460,10 +460,10 @@ mtx_exit_hard(struct mtx *m, int type)
#endif
setrunqueue(p);
CTR2(KTR_LOCK, "mtx_exit: 0x%p switching out lock=0x%p",
m, m->mtx_lock);
m, (void *)m->mtx_lock);
mi_switch();
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);
break;