Module Name: src
Committed By: maxv
Date: Thu Aug 11 15:03:23 UTC 2016
Modified Files:
src/sys/arch/i386/i386: trap.c
Log Message:
This should be VM_MIN_KERNEL_ADDRESS, not KERNBASE.
To generate a diff of this commit:
cvs rdiff -u -r1.277 -r1.278 src/sys/arch/i386/i386/trap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/i386/i386/trap.c
diff -u src/sys/arch/i386/i386/trap.c:1.277 src/sys/arch/i386/i386/trap.c:1.278
--- src/sys/arch/i386/i386/trap.c:1.277 Thu Aug 11 14:58:29 2016
+++ src/sys/arch/i386/i386/trap.c Thu Aug 11 15:03:23 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.277 2016/08/11 14:58:29 maxv Exp $ */
+/* $NetBSD: trap.c,v 1.278 2016/08/11 15:03:23 maxv Exp $ */
/*-
* Copyright (c) 1998, 2000, 2005, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.277 2016/08/11 14:58:29 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.278 2016/08/11 15:03:23 maxv Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -582,7 +582,7 @@ faultcommon:
* The last can occur during an exec() copyin where the
* argument space is lazy-allocated.
*/
- if (type == T_PAGEFLT && va >= KERNBASE)
+ if (type == T_PAGEFLT && va >= VM_MIN_KERNEL_ADDRESS)
map = kernel_map;
else
map = &vm->vm_map;