summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2019-02-10 20:07:34 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2019-02-10 20:07:34 +0000
commite2904b3fd04a1ef9a2bfe89cf5af4242ca0daa69 (patch)
tree7828363d6cc381eace1637ebcce9e5d197685777 /sys
parentcd214fd7be392fbb121b3e7cdc6525a2a49daf99 (diff)
missed a file. add flags to the pool page free function.
Diffstat (limited to 'sys')
-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 4cd23d17b71..f4571814fde 100644
--- a/sys/arch/arm64/arm64/pmap.c
+++ b/sys/arch/arm64/arm64/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.58 2018/09/12 11:58:28 kettenis Exp $ */
+/* $OpenBSD: pmap.c,v 1.59 2019/02/10 20:07:33 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 *, void *);
+void pmap_vp_page_free(struct pool *, int, 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, void *v)
+pmap_vp_page_free(struct pool *pp, int flags, void *v)
{
km_free(v, pp->pr_pgsize, &kv_any, &kp_dirty);
}