summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-01-04 19:05:33 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-01-04 19:05:33 +0000
commit19af6a81fc464b0c8862dc1ae686d04c58e5b686 (patch)
treeec8260d1a696118742c20a954b58fb83bcb754b1 /sys/arch/hp300
parent875831267c9a2521105289c07ade2b983cdef775 (diff)
Do not leave a page unused after the kernel message buffer on m68k platforms.
While there, compute the physical memory size in a much simpler way on mac68k.
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r--sys/arch/hp300/hp300/pmap_bootstrap.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/hp300/hp300/pmap_bootstrap.c b/sys/arch/hp300/hp300/pmap_bootstrap.c
index b0a63a57af1..6d2b1477b49 100644
--- a/sys/arch/hp300/hp300/pmap_bootstrap.c
+++ b/sys/arch/hp300/hp300/pmap_bootstrap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap_bootstrap.c,v 1.24 2006/05/19 22:51:07 miod Exp $ */
+/* $OpenBSD: pmap_bootstrap.c,v 1.25 2008/01/04 19:05:30 miod Exp $ */
/* $NetBSD: pmap_bootstrap.c,v 1.13 1997/06/10 18:56:50 veego Exp $ */
/*
@@ -88,8 +88,7 @@ do { \
#define PMAP_MD_MEMSIZE() \
do { \
- RELOC(avail_end, paddr_t) = MAXADDR - \
- (round_page(MSGBUFSIZE) + ptoa(1)); \
+ RELOC(avail_end, paddr_t) = MAXADDR - round_page(MSGBUFSIZE); \
} while (0)
/*