summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-02-19 17:23:14 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-02-19 17:23:14 +0000
commitfd0fa6dc17f89bbb72c8c53859eafbd25a4dc42f (patch)
treeb6aab2bbfb64ba37d6f91a32882cd8b2c462cb24 /sys/arch
parent78da71e4d37127b0b9d252d2148a4dbf07b55ccb (diff)
explicitly set page size for uvm.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amiga/amiga/pmap.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/amiga/amiga/pmap.c b/sys/arch/amiga/amiga/pmap.c
index 73c787eef87..b26950ba520 100644
--- a/sys/arch/amiga/amiga/pmap.c
+++ b/sys/arch/amiga/amiga/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.25 2000/12/15 15:18:36 art Exp $ */
+/* $OpenBSD: pmap.c,v 1.26 2001/02/19 17:23:13 art Exp $ */
/* $NetBSD: pmap.c,v 1.39 1997/06/10 18:26:41 veego Exp $ */
/*
@@ -324,6 +324,11 @@ pmap_bootstrap(firstaddr, loadaddr)
fromads = firstaddr;
toads = maxmem << PGSHIFT;
+#if defined(UVM)
+ uvmexp.pagesize = NBPG;
+ uvm_setpagesize();
+#endif
+
/* XXX: allow for msgbuf */
toads -= m68k_round_page(MSGBUFSIZE);
msgbufpa = toads;