diff options
author | kmacy <kmacy@FreeBSD.org> | 2006-12-10 18:09:44 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2006-12-10 18:09:44 +0000 |
commit | ea902a65dc6a6f1f2dfb9b9c8fccfccaf4f5a335 (patch) | |
tree | 8a31b4a4c8fe64731c980159f92d7c9d87575ca8 /sys/sun4v | |
parent | 2aeee088cb1282540f27878d031ea1b6e88cc785 (diff) | |
download | FreeBSD-src-ea902a65dc6a6f1f2dfb9b9c8fccfccaf4f5a335.zip FreeBSD-src-ea902a65dc6a6f1f2dfb9b9c8fccfccaf4f5a335.tar.gz |
KTR entry contained invalid context reference - ifdef out
Diffstat (limited to 'sys/sun4v')
-rw-r--r-- | sys/sun4v/sun4v/trap.c | 3 |
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 |