summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2004-12-13 15:34:47 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2004-12-13 15:34:47 +0000
commit5744c5418c709b5f978767294df6fd76d07452c5 (patch)
treea69002bf6e181f39c71e5a9c37345a3126c8c713 /sys/arch
parent97b84989afc39fef025abe1fbdbb4226bce9d9f7 (diff)
Use PAGE_SIZE instead of hardcoded 4096 value.
ok miod@ pefo@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sgi/sgi/machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sgi/sgi/machdep.c b/sys/arch/sgi/sgi/machdep.c
index 85abfdd38a3..58ee643d438 100644
--- a/sys/arch/sgi/sgi/machdep.c
+++ b/sys/arch/sgi/sgi/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.19 2004/12/02 19:37:25 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.20 2004/12/13 15:34:46 grange Exp $ */
/*
* Copyright (c) 2003-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -307,7 +307,7 @@ bios_printf("SR=%08x\n", getsr()); /* leave this in for now. need to see sr */
* Set pagesize to enable use of page macros and functions.
* Commit available memory to UVM system
*/
- uvmexp.pagesize = 4096;
+ uvmexp.pagesize = PAGE_SIZE;
uvm_setpagesize();
for(i = 0; i < MAXMEMSEGS && mem_layout[i].mem_first_page != 0; i++) {