summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/ia64/ia64/trap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ia64/ia64/trap.c b/sys/ia64/ia64/trap.c
index af2bea7..3391dff 100644
--- a/sys/ia64/ia64/trap.c
+++ b/sys/ia64/ia64/trap.c
@@ -589,10 +589,10 @@ trap(int vector, struct trapframe *framep)
rv = 0;
va = trunc_page(framep->tf_special.ifa);
- if (va >= VM_MIN_KERNEL_ADDRESS) {
+ if (va >= VM_MAX_ADDRESS) {
/*
* Don't allow user-mode faults for kernel virtual
- * addresses
+ * addresses, including the gateway page.
*/
if (user)
goto no_fault_in;
OpenPOWER on IntegriCloud