* grub-core/loader/i386/linux.c (find_efi_mmap_size): Increase

additional size to 3 pages.
	Reported by: Stuart Hayes.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-06-27 22:55:09 +02:00
parent d22029ba28
commit f923ad22ce
2 changed files with 7 additions and 1 deletions

View file

@ -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.

View 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;