From 9c3db322b53ff89f06229e46bcdff45e55075f7e Mon Sep 17 00:00:00 2001 From: "Constantine A. Murenin" Date: Thu, 4 Feb 2010 23:40:34 -0500 Subject: [PATCH] kernel: print the amount of ignored memory above 4GB in MB, too --- sys/platform/pc32/i386/machdep.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/platform/pc32/i386/machdep.c b/sys/platform/pc32/i386/machdep.c index c3cc84f3ea..170474484f 100644 --- a/sys/platform/pc32/i386/machdep.c +++ b/sys/platform/pc32/i386/machdep.c @@ -1514,8 +1514,8 @@ int15e820: goto next_run; if (smap->base >= 0xffffffff) { - kprintf("%uK of memory above 4GB ignored\n", - (u_int)(smap->length / 1024)); + kprintf("%ju MB of memory above 4GB ignored\n", + (uintmax_t)(smap->length / 1024 / 1024)); goto next_run; } @@ -2609,4 +2609,3 @@ init_locks(void) /* our token pool needs to work early */ lwkt_token_pool_init(); } - -- 2.11.4.GIT