summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2006-12-10 18:09:44 +0000
committerkmacy <kmacy@FreeBSD.org>2006-12-10 18:09:44 +0000
commitea902a65dc6a6f1f2dfb9b9c8fccfccaf4f5a335 (patch)
tree8a31b4a4c8fe64731c980159f92d7c9d87575ca8 /sys
parent2aeee088cb1282540f27878d031ea1b6e88cc785 (diff)
downloadFreeBSD-src-ea902a65dc6a6f1f2dfb9b9c8fccfccaf4f5a335.zip
FreeBSD-src-ea902a65dc6a6f1f2dfb9b9c8fccfccaf4f5a335.tar.gz
KTR entry contained invalid context reference - ifdef out
Diffstat (limited to 'sys')
-rw-r--r--sys/sun4v/sun4v/trap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sun4v/sun4v/trap.c b/sys/sun4v/sun4v/trap.c
index 6ac9a33..be7f20b 100644
--- a/sys/sun4v/sun4v/trap.c
+++ b/sys/sun4v/sun4v/trap.c
@@ -453,11 +453,12 @@ trap_pfault(struct thread *td, struct trapframe *tf, int64_t type, uint64_t data
type = type & ~T_KERNEL;
va = TLB_TAR_VA(data);
-#if 1
+
if (data > VM_MIN_DIRECT_ADDRESS)
printf("trap_pfault(type=%ld, data=0x%lx, tpc=0x%lx, ctx=0x%lx)\n",
type, data, tf->tf_tpc, ctx);
+#if 0
CTR4(KTR_TRAP, "trap_pfault: td=%p pm_ctx=%#lx va=%#lx ctx=%#lx",
td, p->p_vmspace->vm_pmap.pm_context[PCPU_GET(cpuid)], va, ctx);
#endif
OpenPOWER on IntegriCloud