summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2008-08-31 23:54:22 +0000
committermarcel <marcel@FreeBSD.org>2008-08-31 23:54:22 +0000
commit7f570176d925106cd1af5dab102fa15b5e5dea8d (patch)
tree43dbce3cdaa7f97adc0607df9bc97c459ad34337 /sys/powerpc
parent1da46bec0265d325476f65094ffda9c1ed80c7f5 (diff)
downloadFreeBSD-src-7f570176d925106cd1af5dab102fa15b5e5dea8d.zip
FreeBSD-src-7f570176d925106cd1af5dab102fa15b5e5dea8d.tar.gz
Trace interrupts with KTR_INTR.
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/aim/interrupt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/aim/interrupt.c b/sys/powerpc/aim/interrupt.c
index ff77fc8..d7f489a 100644
--- a/sys/powerpc/aim/interrupt.c
+++ b/sys/powerpc/aim/interrupt.c
@@ -76,6 +76,8 @@ powerpc_interrupt(struct trapframe *framep)
td = curthread;
+ CTR2(KTR_INTR, "%s: EXC=%x", __func__, framep->exc);
+
switch (framep->exc) {
case EXC_EXI:
atomic_add_int(&td->td_intr_nesting_level, 1);
OpenPOWER on IntegriCloud