diff options
author | Matt Macy <mmacy@FreeBSD.org> | 2018-05-19 07:04:43 +0000 |
---|---|---|
committer | Matt Macy <mmacy@FreeBSD.org> | 2018-05-19 07:04:43 +0000 |
commit | fc2e87be2b138326bff2fc4d7faffb9d057fbab0 (patch) | |
tree | 69440b59828e2a660e51c756229c948f5082e617 /sys/kern/kern_intr.c | |
parent | d0ba1baed3f6e4936a0c1b89c25f6c59168ef6de (diff) | |
download | src-fc2e87be2b138326bff2fc4d7faffb9d057fbab0.tar.gz src-fc2e87be2b138326bff2fc4d7faffb9d057fbab0.zip |
intr unbreak KTR/LINT build
Notes
Notes:
svn path=/head/; revision=333873
Diffstat (limited to 'sys/kern/kern_intr.c')
-rw-r--r-- | sys/kern/kern_intr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c index 3eef8766b76e..e5981e46f4a7 100644 --- a/sys/kern/kern_intr.c +++ b/sys/kern/kern_intr.c @@ -985,13 +985,13 @@ intr_event_schedule_thread(struct intr_event *ie) atomic_store_rel_int(&it->it_need, 1); thread_lock(td); if (TD_AWAITING_INTR(td)) { - CTR3(KTR_INTR, "%s: schedule pid %d (%s)", __func__, p->p_pid, + CTR3(KTR_INTR, "%s: schedule pid %d (%s)", __func__, td->td_proc->p_pid, td->td_name); TD_CLR_IWAIT(td); sched_add(td, SRQ_INTR); } else { CTR5(KTR_INTR, "%s: pid %d (%s): it_need %d, state %d", - __func__, p->p_pid, td->td_name, it->it_need, td->td_state); + __func__, td->td_proc->p_pid, td->td_name, it->it_need, td->td_state); } thread_unlock(td); |