diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-02-22 20:34:47 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-02-22 20:34:47 +0000 |
commit | aa226f0ce3131d043966709c1dc60128a3b9a303 (patch) | |
tree | 9f1b49e078bfe9e2d6e1892f2056d64d40670b15 /sys/arch/powerpc | |
parent | c1784f1dc2bdfd88f5845afe410ac318f2f896e4 (diff) |
Dont pass seemingly random numbers down as the flag
parameter of pool_init()
ok drahn@
no objections miod@
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r-- | sys/arch/powerpc/powerpc/pmap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/powerpc/powerpc/pmap.c b/sys/arch/powerpc/powerpc/pmap.c index 72879c3f64d..cd3c307bfed 100644 --- a/sys/arch/powerpc/powerpc/pmap.c +++ b/sys/arch/powerpc/powerpc/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.96 2005/12/29 23:54:49 kettenis Exp $ */ +/* $OpenBSD: pmap.c,v 1.97 2007/02/22 20:34:46 thib Exp $ */ /* * Copyright (c) 2001, 2002 Dale Rahn. @@ -2109,11 +2109,11 @@ pmap_init() char *attr; int i, bank; - pool_init(&pmap_pmap_pool, sizeof(struct pmap), 0, 0, 20, "pmap", NULL); + pool_init(&pmap_pmap_pool, sizeof(struct pmap), 0, 0, 0, "pmap", NULL); pool_setlowat(&pmap_pmap_pool, 2); - pool_init(&pmap_vp_pool, sizeof(struct pmapvp), 0, 0, 150, "vp", NULL); + pool_init(&pmap_vp_pool, sizeof(struct pmapvp), 0, 0, 0, "vp", NULL); pool_setlowat(&pmap_vp_pool, 10); - pool_init(&pmap_pted_pool, sizeof(struct pte_desc), 0, 0, 150, "pted", + pool_init(&pmap_pted_pool, sizeof(struct pte_desc), 0, 0, 0, "pted", NULL); pool_setlowat(&pmap_pted_pool, 20); |