summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlex Feldman <alex@cvs.openbsd.org>1999-03-24 22:56:14 +0000
committerAlex Feldman <alex@cvs.openbsd.org>1999-03-24 22:56:14 +0000
commite2d47577af2eb5019e800f16b7e19c868334c608 (patch)
tree3b2e025beec29283d29ba41e735344c602e325fe /sys
parent987505eb00f628b5885a678dc75c27028002daee (diff)
Call vm_set_page_size() during initialization (supresses "MD code did
not set page size" warning at boot time).
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/alpha/alpha/machdep.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/alpha/alpha/machdep.c b/sys/arch/alpha/alpha/machdep.c
index 07e3d31a074..828f3f42ef9 100644
--- a/sys/arch/alpha/alpha/machdep.c
+++ b/sys/arch/alpha/alpha/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.25 1999/01/07 23:15:51 deraadt Exp $ */
+/* $OpenBSD: machdep.c,v 1.26 1999/03/24 22:56:13 alex Exp $ */
/* $NetBSD: machdep.c,v 1.61 1996/12/07 01:54:49 cgd Exp $ */
/*
@@ -344,6 +344,11 @@ alpha_init(pfn, ptb, symend)
if (PAGE_SIZE != 8192)
panic("page size %d != 8192?!", PAGE_SIZE);
+ /*
+ * Init PAGE_SIZE dependent variables in the MI VM system
+ */
+ vm_set_page_size();
+
v = (caddr_t)alpha_round_page(symend ? symend : _end);
/*
* Init mapping for u page(s) for proc 0