diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2008-01-04 19:05:33 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2008-01-04 19:05:33 +0000 |
commit | 19af6a81fc464b0c8862dc1ae686d04c58e5b686 (patch) | |
tree | ec8260d1a696118742c20a954b58fb83bcb754b1 /sys/arch/hp300 | |
parent | 875831267c9a2521105289c07ade2b983cdef775 (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.c | 5 |
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) /* |