diff options
-rw-r--r-- | i386/i386/trap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/i386/i386/trap.c b/i386/i386/trap.c index e1256254..e69b3ea8 100644 --- a/i386/i386/trap.c +++ b/i386/i386/trap.c @@ -200,7 +200,8 @@ dump_ss(regs); /* If it's in the kernel linear address region, convert it to a kernel virtual address and use the kernel map to process the fault. */ - if (subcode >= LINEAR_MIN_KERNEL_ADDRESS) { + if (lintokv(subcode) == 0 || + subcode >= LINEAR_MIN_KERNEL_ADDRESS) { #if 0 printf("%08x in kernel linear address range\n", subcode); #endif |