diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2019-02-10 22:45:59 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2019-02-10 22:45:59 +0000 |
commit | 3cd508007d20acf1d47efdc64a737ba3601f7ff2 (patch) | |
tree | a61d8ef42b9a5c8f8f475a074ce9e070d3df3518 /sys/arch | |
parent | 0642f11545510f94814ff92a5c7ead15a8d66d8a (diff) |
revert revert revert. there are many other archs that use custom allocs.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/arm/arm/pmap7.c | 6 | ||||
-rw-r--r-- | sys/arch/arm64/arm64/pmap.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/arm/arm/pmap7.c b/sys/arch/arm/arm/pmap7.c index 36eab051865..9314ff12d90 100644 --- a/sys/arch/arm/arm/pmap7.c +++ b/sys/arch/arm/arm/pmap7.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap7.c,v 1.57 2019/02/10 20:02:37 tedu Exp $ */ +/* $OpenBSD: pmap7.c,v 1.58 2019/02/10 22:45:58 tedu Exp $ */ /* $NetBSD: pmap.c,v 1.147 2004/01/18 13:03:50 scw Exp $ */ /* @@ -243,7 +243,7 @@ struct pool pmap_pmap_pool; */ struct pool pmap_pv_pool; void *pmap_bootstrap_pv_page_alloc(struct pool *, int, int *); -void pmap_bootstrap_pv_page_free(struct pool *, int, void *); +void pmap_bootstrap_pv_page_free(struct pool *, void *); struct pool_allocator pmap_bootstrap_pv_allocator = { pmap_bootstrap_pv_page_alloc, pmap_bootstrap_pv_page_free }; @@ -2448,7 +2448,7 @@ pmap_bootstrap_pv_page_alloc(struct pool *pp, int flags, int *slowdown) } void -pmap_bootstrap_pv_page_free(struct pool *pp, int flags, void *v) +pmap_bootstrap_pv_page_free(struct pool *pp, void *v) { extern void pool_page_free(struct pool *, void *); diff --git a/sys/arch/arm64/arm64/pmap.c b/sys/arch/arm64/arm64/pmap.c index f4571814fde..f0366c8d8c7 100644 --- a/sys/arch/arm64/arm64/pmap.c +++ b/sys/arch/arm64/arm64/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.59 2019/02/10 20:07:33 tedu Exp $ */ +/* $OpenBSD: pmap.c,v 1.60 2019/02/10 22:45:58 tedu Exp $ */ /* * Copyright (c) 2008-2009,2014-2016 Dale Rahn <drahn@dalerahn.com> * @@ -109,7 +109,7 @@ CTASSERT(sizeof(struct pmapvp0) == sizeof(struct pmapvp3)); /* Allocator for VP pool. */ void *pmap_vp_page_alloc(struct pool *, int, int *); -void pmap_vp_page_free(struct pool *, int, void *); +void pmap_vp_page_free(struct pool *, void *); struct pool_allocator pmap_vp_allocator = { pmap_vp_page_alloc, pmap_vp_page_free, sizeof(struct pmapvp0) @@ -381,7 +381,7 @@ pmap_vp_page_alloc(struct pool *pp, int flags, int *slowdown) } void -pmap_vp_page_free(struct pool *pp, int flags, void *v) +pmap_vp_page_free(struct pool *pp, void *v) { km_free(v, pp->pr_pgsize, &kv_any, &kp_dirty); } |