diff options
Diffstat (limited to 'sys/arch/sh')
-rw-r--r-- | sys/arch/sh/sh/pmap.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/arch/sh/sh/pmap.c b/sys/arch/sh/sh/pmap.c index dca62bc3989..5599bd4230c 100644 --- a/sys/arch/sh/sh/pmap.c +++ b/sys/arch/sh/sh/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.25 2016/06/07 06:23:19 dlg Exp $ */ +/* $OpenBSD: pmap.c,v 1.26 2016/09/15 02:00:17 dlg Exp $ */ /* $NetBSD: pmap.c,v 1.55 2006/08/07 23:19:36 tsutsui Exp $ */ /*- @@ -203,12 +203,10 @@ void pmap_init(void) { /* Initialize pmap module */ - pool_init(&__pmap_pmap_pool, sizeof(struct pmap), 0, 0, 0, + pool_init(&__pmap_pmap_pool, sizeof(struct pmap), 0, IPL_NONE, 0, "pmappl", &pool_allocator_single); - pool_setipl(&__pmap_pmap_pool, IPL_NONE); - pool_init(&__pmap_pv_pool, sizeof(struct pv_entry), 0, 0, 0, "pvpl", - &pmap_pv_page_allocator); - pool_setipl(&__pmap_pv_pool, IPL_VM); + pool_init(&__pmap_pv_pool, sizeof(struct pv_entry), 0, IPL_VM, 0, + "pvpl", &pmap_pv_page_allocator); pool_setlowat(&__pmap_pv_pool, 16); } |