PAGE_SIZE on sun3/sun3x is now constant;
Use uvmexp.pagesize itself for its initialization.
This commit is contained in:
parent
55ecb0e64a
commit
500525029a
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pmap.c,v 1.120 2000/10/27 13:28:54 tsutsui Exp $ */
|
||||
/* $NetBSD: pmap.c,v 1.121 2000/11/24 11:57:45 tsutsui Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||
|
@ -1833,7 +1833,7 @@ pmap_bootstrap(nextva)
|
|||
/* Initialization for pmap_next_page() */
|
||||
avail_next = avail_start;
|
||||
|
||||
PAGE_SIZE = NBPG;
|
||||
uvmexp.pagesize = NBPG;
|
||||
uvm_setpagesize();
|
||||
|
||||
/* after setting up some structures */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pmap.c,v 1.56 2000/10/27 13:28:55 tsutsui Exp $ */
|
||||
/* $NetBSD: pmap.c,v 1.57 2000/11/24 11:57:46 tsutsui Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
|
||||
|
@ -892,7 +892,7 @@ pmap_bootstrap(nextva)
|
|||
pmap_bootstrap_setprom();
|
||||
|
||||
/* Notify the VM system of our page size. */
|
||||
PAGE_SIZE = NBPG;
|
||||
uvmexp.pagesize = NBPG;
|
||||
uvm_setpagesize();
|
||||
|
||||
pmap_page_upload();
|
||||
|
|
Loading…
Reference in New Issue