diff options
author | mjacob <mjacob@FreeBSD.org> | 2000-11-07 22:29:21 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2000-11-07 22:29:21 +0000 |
commit | d0b11154fff7c0964e37b356261a0d55c2835238 (patch) | |
tree | 05cbe40194fe9148b4d0a49da5346bf8dd8e0694 /sys/alpha | |
parent | 8d96a006d836da29f792f3b5e8211163e85b03fc (diff) | |
download | FreeBSD-src-d0b11154fff7c0964e37b356261a0d55c2835238.zip FreeBSD-src-d0b11154fff7c0964e37b356261a0d55c2835238.tar.gz |
(KTR debugging) Say when we're disabling a vector.
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/alpha/interrupt.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/alpha/alpha/interrupt.c b/sys/alpha/alpha/interrupt.c index 91f5745..a95564a 100644 --- a/sys/alpha/alpha/interrupt.c +++ b/sys/alpha/alpha/interrupt.c @@ -96,7 +96,7 @@ interrupt(a0, a1, a2, framep) atomic_add_int(&PCPU_GET(intr_nesting_level), 1); { - struct proc* p = curproc; + struct proc *p = curproc; if (!p) p = &proc0; if ((caddr_t) framep < (caddr_t) p->p_addr + 1024) { mtx_enter(&Giant, MTX_DEF); @@ -573,8 +573,11 @@ alpha_dispatch_intr(void *frame, unsigned long vector) CTR3(KTR_INTR, "alpha_dispatch_intr: %d: it_need %d, state %d", ithd->it_proc->p_pid, ithd->it_need, ithd->it_proc->p_stat); } - if (i->disable) + if (i->disable) { + CTR1(KTR_INTR, + "alpha_dispatch_intr: disabling vector 0x%x", i->vector); i->disable(i->vector); + } mtx_exit(&sched_lock, MTX_SPIN); need_resched(); |