summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2011-05-14 19:19:33 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2011-05-14 19:19:33 +0000
commitb28b76ad7f24a70cb5ee65553ab67eb32efda21f (patch)
tree1fccad7d120c82bc3d3ee4e69775d3f07f98204d /sys
parent0fcf41737655b60efb019f6fec33236532460222 (diff)
Fix arguments to pool_init: want alignment of L2_TABLE_SIZE_REAL at
offset 0, not default alignment at offset L2_TABLE_SIZE_REAL. ok miod@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/arm/arm/pmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm/arm/pmap.c b/sys/arch/arm/arm/pmap.c
index 2145366c68d..9bf926ab3fb 100644
--- a/sys/arch/arm/arm/pmap.c
+++ b/sys/arch/arm/arm/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.30 2011/01/04 21:11:39 miod Exp $ */
+/* $OpenBSD: pmap.c,v 1.31 2011/05/14 19:19:32 matthew Exp $ */
/* $NetBSD: pmap.c,v 1.147 2004/01/18 13:03:50 scw Exp $ */
/*
@@ -4023,7 +4023,7 @@ pmap_bootstrap(pd_entry_t *kernel_l1pt, vaddr_t vstart, vaddr_t vend)
/*
* Initialise the L2 descriptor table pool and cache
*/
- pool_init(&pmap_l2ptp_pool, L2_TABLE_SIZE_REAL, 0, L2_TABLE_SIZE_REAL,
+ pool_init(&pmap_l2ptp_pool, L2_TABLE_SIZE_REAL, L2_TABLE_SIZE_REAL, 0,
0, "l2ptppl", NULL);
pool_set_ctordtor(&pmap_l2ptp_pool, pmap_l2ptp_ctor, NULL, NULL);