]> git.proxmox.com Git - grub2.git/commitdiff
* grub-core/kern/mips/loongson/init.c (grub_machine_init): Handle the
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 23 Aug 2011 09:20:56 +0000 (11:20 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 23 Aug 2011 09:20:56 +0000 (11:20 +0200)
case of less than 256 MiB of RAM.

ChangeLog
grub-core/kern/mips/loongson/init.c

index 345f8f4cd448b2ccbadae017657854b47f17e708..ad7dea7c8ce753be52608265259173c837e2cccd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-08-23  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/kern/mips/loongson/init.c (grub_machine_init): Handle the
+       case of less than 256 MiB of RAM.
+
 2011-08-23  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/commands/wildcard.c (make_regex): Handle @.
index d1cac7a67b3d8b2f798df4d248973f8e5f01ce79..2d1a0653e4a2de50252c439bd21beefb654e76a6 100644 (file)
@@ -188,7 +188,7 @@ grub_machine_init (void)
        }
       else
        {
-         grub_arch_memsize = (totalmem >> 20);
+         grub_arch_memsize = totalmem;
          grub_arch_highmemsize = 0;
        }