From 5744c5418c709b5f978767294df6fd76d07452c5 Mon Sep 17 00:00:00 2001 From: Alexander Yurchenko Date: Mon, 13 Dec 2004 15:34:47 +0000 Subject: Use PAGE_SIZE instead of hardcoded 4096 value. ok miod@ pefo@ --- sys/arch/sgi/sgi/machdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch') 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++) { -- cgit v1.2.3