]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/loader/i386/linux.c (find_efi_mmap_size): Increase
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 27 Jun 2012 20:55:09 +0000 (22:55 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 27 Jun 2012 20:55:09 +0000 (22:55 +0200)
additional size to 3 pages.
Reported by: Stuart Hayes.

ChangeLog
grub-core/loader/i386/linux.c

index f3596ba07b061782dc0e5492d71e4e6cfc42de37..d57ca56e8157e56925ece959ede760496eda7f73 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-06-27  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/loader/i386/linux.c (find_efi_mmap_size): Increase
+       additional size to 3 pages.
+       Reported by: Stuart Hayes.
+
 2012-06-27  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * NEWS: Add 2.00 entry.
index 69575592c7a3b6b613bda776721518c2dd264dfa..62087cfaa8bc41003c6f986272631efe4102af8b 100644 (file)
@@ -139,7 +139,7 @@ find_efi_mmap_size (void)
 
   /* Increase the size a bit for safety, because GRUB allocates more on
      later, and EFI itself may allocate more.  */
-  mmap_size += (1 << 12);
+  mmap_size += (3 << 12);
 
   mmap_size = page_align (mmap_size);
   return mmap_size;