summaryrefslogtreecommitdiff
path: root/sys/arch/arm64
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2019-02-10 22:45:59 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2019-02-10 22:45:59 +0000
commit3cd508007d20acf1d47efdc64a737ba3601f7ff2 (patch)
treea61d8ef42b9a5c8f8f475a074ce9e070d3df3518 /sys/arch/arm64
parent0642f11545510f94814ff92a5c7ead15a8d66d8a (diff)
revert revert revert. there are many other archs that use custom allocs.
Diffstat (limited to 'sys/arch/arm64')
-rw-r--r--sys/arch/arm64/arm64/pmap.c6
1 files changed, 3 insertions, 3 deletions
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);
}