summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2004-08-06 22:32:53 +0000
committercognet <cognet@FreeBSD.org>2004-08-06 22:32:53 +0000
commitbc600631b587bfc5985808738b048aae7795e8e8 (patch)
tree23c38d01648a3331d37cd630d250fb2aaa19b1c6 /sys
parent37eebe50583ca44397c7d70c8f64f7c69c9f21b3 (diff)
downloadFreeBSD-src-bc600631b587bfc5985808738b048aae7795e8e8.zip
FreeBSD-src-bc600631b587bfc5985808738b048aae7795e8e8.tar.gz
Use the new prototype for the zone constructor.
Diffstat (limited to 'sys')
-rw-r--r--sys/arm/arm/pmap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arm/arm/pmap.c b/sys/arm/arm/pmap.c
index 7b47b3f..d767a7f 100644
--- a/sys/arm/arm/pmap.c
+++ b/sys/arm/arm/pmap.c
@@ -1103,8 +1103,8 @@ pmap_free_l2_bucket(pmap_t pm, struct l2_bucket *l2b, u_int count)
* Pool cache constructors for L2 descriptor tables, metadata and pmap
* structures.
*/
-static void
-pmap_l2ptp_ctor(void *mem, int size, void *arg)
+static int
+pmap_l2ptp_ctor(void *mem, int size, void *arg, int flags)
{
#ifndef PMAP_INCLUDE_PTE_SYNC
struct l2_bucket *l2b;
@@ -1136,6 +1136,7 @@ pmap_l2ptp_ctor(void *mem, int size, void *arg)
memset(mem, 0, L2_TABLE_SIZE_REAL);
PTE_SYNC_RANGE(mem, L2_TABLE_SIZE_REAL / sizeof(pt_entry_t));
+ return (0);
}
/*
OpenPOWER on IntegriCloud