diff options
author | Renato Botelho <renato@netgate.com> | 2016-06-06 08:04:21 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-06-06 08:04:21 -0300 |
commit | 4fdb7654ef71cc3e4f0353cc46f28f652cd35605 (patch) | |
tree | 9ac039033dcfd7239eb7ae855bb794ff7d54bfad /sys/kern/kern_synch.c | |
parent | a361452ba60086e37d1776522ab3ea1f7e153e9d (diff) | |
parent | 4948c572e7d17a6c09d98026c5a15de8d7b71e09 (diff) | |
download | FreeBSD-src-4fdb7654ef71cc3e4f0353cc46f28f652cd35605.zip FreeBSD-src-4fdb7654ef71cc3e4f0353cc46f28f652cd35605.tar.gz |
Merge remote-tracking branch 'origin/master' into devel-11
Diffstat (limited to 'sys/kern/kern_synch.c')
-rw-r--r-- | sys/kern/kern_synch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c index 55df6a0..358cce3 100644 --- a/sys/kern/kern_synch.c +++ b/sys/kern/kern_synch.c @@ -441,7 +441,7 @@ mi_switch(int flags, struct thread *newtd) PCPU_INC(cnt.v_swtch); PCPU_SET(switchticks, ticks); CTR4(KTR_PROC, "mi_switch: old thread %ld (td_sched %p, pid %ld, %s)", - td->td_tid, td->td_sched, td->td_proc->p_pid, td->td_name); + td->td_tid, td_get_sched(td), td->td_proc->p_pid, td->td_name); #if (KTR_COMPILE & KTR_SCHED) != 0 if (TD_IS_IDLETHREAD(td)) KTR_STATE1(KTR_SCHED, "thread", sched_tdname(td), "idle", @@ -457,7 +457,7 @@ mi_switch(int flags, struct thread *newtd) "prio:%d", td->td_priority); CTR4(KTR_PROC, "mi_switch: new thread %ld (td_sched %p, pid %ld, %s)", - td->td_tid, td->td_sched, td->td_proc->p_pid, td->td_name); + td->td_tid, td_get_sched(td), td->td_proc->p_pid, td->td_name); /* * If the last thread was exiting, finish cleaning it up. |