summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/sun4v/sun4v/vm_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sun4v/sun4v/vm_machdep.c b/sys/sun4v/sun4v/vm_machdep.c
index 5f89aa2..89807df 100644
--- a/sys/sun4v/sun4v/vm_machdep.c
+++ b/sys/sun4v/sun4v/vm_machdep.c
@@ -122,7 +122,7 @@ cpu_thread_setup(struct thread *td)
pcb->pcb_nsaved = 0;
td->td_frame = (struct trapframe *)pcb - 1;
pcb = (struct pcb *)TLB_PHYS_TO_DIRECT(vtophys((vm_offset_t)pcb));
- KASSERT(pcb > VM_MIN_DIRECT_ADDRESS);
+ KASSERT(pcb > (struct pcb *)VM_MIN_DIRECT_ADDRESS,("pcb is NULL"));
td->td_pcb = pcb;
}
OpenPOWER on IntegriCloud