summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>2000-11-19 01:08:08 +0000
committerart <art@openbsd.org>2000-11-19 01:08:08 +0000
commit73b9fe7c3ce5166c43bbd8b9cd69f49891ac3707 (patch)
tree09d8d36e9734d337ec1c144e8edd7f7b89bf9ef9
parentOpenBSD does not support non-standard mdoc macros like .Lb. (diff)
downloadwireguard-openbsd-73b9fe7c3ce5166c43bbd8b9cd69f49891ac3707.tar.xz
wireguard-openbsd-73b9fe7c3ce5166c43bbd8b9cd69f49891ac3707.zip
More sane setting of page size.
-rw-r--r--sys/arch/alpha/alpha/machdep.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/arch/alpha/alpha/machdep.c b/sys/arch/alpha/alpha/machdep.c
index 1eff9e1c668..a8012437dae 100644
--- a/sys/arch/alpha/alpha/machdep.c
+++ b/sys/arch/alpha/alpha/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.37 2000/11/18 05:26:12 ericj Exp $ */
+/* $OpenBSD: machdep.c,v 1.38 2000/11/19 01:08:08 art Exp $ */
/* $NetBSD: machdep.c,v 1.206 2000/05/23 05:12:54 thorpej Exp $ */
/*-
@@ -432,13 +432,9 @@ nobootinfo:
/*
* find out this system's page size
*/
- PAGE_SIZE = hwrpb->rpb_page_size;
- if (PAGE_SIZE != 8192)
- panic("page size %d != 8192?!", PAGE_SIZE);
+ if ((uvmexp.pagesize = hwrpb->rpb_page_size) != 8192)
+ panic("page size %d != 8192?!", uvmexp.pagesize);
- /*
- * Initialize PAGE_SIZE-dependent variables.
- */
uvm_setpagesize();
/*