diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2000-11-19 01:08:09 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2000-11-19 01:08:09 +0000 |
commit | 3eafe137c85cc5f7dbcaf40d1dd73ecb02ed28da (patch) | |
tree | 1d3e3bd9c72aedcfe51bde99e62ab1a8881f0af0 | |
parent | 528e5b5ca1fa0ac72f7da7587a49090a3cf509db (diff) |
More sane setting of page size.
-rw-r--r-- | sys/arch/alpha/alpha/machdep.c | 10 |
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(); /* |