diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-08-30 16:50:26 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-08-30 16:50:26 +0000 |
commit | d31d769cb786bbcf0717fa7241c46be7441bb0b5 (patch) | |
tree | 3e3adb3589aa21e2c33158322de6c9712f4ff94c /sys/arch/hppa | |
parent | 6ecb21a236cb25eab6cfdbfe7af6cb1f11a615ef (diff) |
The pmap_pmap_pool pool will never be used in interrupt context, so pass the
PR_WAITOK flag to pmap_init and pass NULL as the pool allocator.
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/hppa/pmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa/hppa/pmap.c b/sys/arch/hppa/hppa/pmap.c index db6e4c23ad3..9b48e438ed5 100644 --- a/sys/arch/hppa/hppa/pmap.c +++ b/sys/arch/hppa/hppa/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.167 2015/07/13 13:07:39 kettenis Exp $ */ +/* $OpenBSD: pmap.c,v 1.168 2015/08/30 16:50:25 kettenis Exp $ */ /* * Copyright (c) 1998-2004 Michael Shalayeff @@ -631,8 +631,8 @@ pmap_init(void) { DPRINTF(PDB_FOLLOW|PDB_INIT, ("pmap_init()\n")); - pool_init(&pmap_pmap_pool, sizeof(struct pmap), 0, 0, 0, "pmappl", - &pool_allocator_nointr); + pool_init(&pmap_pmap_pool, sizeof(struct pmap), 0, 0, PR_WAITOK, + "pmappl", NULL); pool_init(&pmap_pv_pool, sizeof(struct pv_entry), 0, 0, 0, "pmappv", NULL); pool_setipl(&pmap_pv_pool, IPL_VM); |