Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 This should be VM_MIN_KERNEL_ADDRESS, not...
details: https://anonhg.NetBSD.org/src/rev/13e49a70cf84
branches: trunk
changeset: 347050:13e49a70cf84
user: maxv <maxv%NetBSD.org@localhost>
date: Thu Aug 11 15:03:23 2016 +0000
description:
This should be VM_MIN_KERNEL_ADDRESS, not KERNBASE.
diffstat:
sys/arch/i386/i386/trap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4d3fcc7affc7 -r 13e49a70cf84 sys/arch/i386/i386/trap.c
--- a/sys/arch/i386/i386/trap.c Thu Aug 11 14:58:29 2016 +0000
+++ b/sys/arch/i386/i386/trap.c Thu Aug 11 15:03:23 2016 +0000
@@ -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 @@
* 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;
Home |
Main Index |
Thread Index |
Old Index