summaryrefslogtreecommitdiff
path: root/sys/pc98
diff options
context:
space:
mode:
authorYoshihiro Takahashi <nyan@FreeBSD.org>2005-03-07 13:53:39 +0000
committerYoshihiro Takahashi <nyan@FreeBSD.org>2005-03-07 13:53:39 +0000
commit77fb11428e6c0cc71d2078d35f0af27f989f46ac (patch)
tree3034e59b04e9be090c48af82213896f436ba482b /sys/pc98
parent20ec4c43b1ae01ce64e574e0a0a0b65ad1df3563 (diff)
Notes
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/i386/machdep.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index 77dcd6808ae6..bee9823b073d 100644
--- a/sys/pc98/i386/machdep.c
+++ b/sys/pc98/i386/machdep.c
@@ -229,9 +229,7 @@ cpu_startup(dummy)
#endif
printf("real memory = %ju (%ju MB)\n", ptoa((uintmax_t)Maxmem),
ptoa((uintmax_t)Maxmem) / 1048576);
- /* This truncates if memory > 4GB, is this possible on PC98? */
- realmem = (long)ptoa((uintmax_t)Maxmem);
-
+ realmem = Maxmem;
/*
* Display any holes after the first chunk of extended memory.
*/