Improve panic message by specifying on which cpu it really is.
This commit is contained in:
parent
57d2ac2f90
commit
23b26e530d
@ -126,7 +126,7 @@ set_cpu(int cpu, struct thread *td)
|
||||
sched_bind(td, cpu);
|
||||
thread_unlock(td);
|
||||
KASSERT(td->td_oncpu == cpu,
|
||||
("[cpuctl,%d]: cannot bind to target cpu %d", __LINE__, cpu));
|
||||
("[cpuctl,%d]: cannot bind to target cpu %d on cpu %d", __LINE__, cpu, td->td_oncpu));
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user