PR port-amd64/38708 lkm_map issues on amd64

lkm_map should not be marked pageable.
This commit is contained in:
ad 2008-05-21 03:04:35 +00:00
parent 94b6b18770
commit 22af427bf0
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.93 2008/05/11 14:44:53 ad Exp $ */
/* $NetBSD: machdep.c,v 1.94 2008/05/21 03:04:35 ad Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2000, 2006, 2007, 2008
@ -112,7 +112,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.93 2008/05/11 14:44:53 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.94 2008/05/21 03:04:35 ad Exp $");
/* #define XENDEBUG_LOW */
@ -362,7 +362,7 @@ cpu_startup(void)
mb_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
nmbclusters * mclbytes, VM_MAP_INTRSAFE, false, NULL);
uvm_map_setup(&lkm_map_store, lkm_start, lkm_end, VM_MAP_PAGEABLE);
uvm_map_setup(&lkm_map_store, lkm_start, lkm_end, 0);
lkm_map_store.pmap = pmap_kernel();
lkm_map = &lkm_map_store;