efi_disk_cache.patch: Fix incorrect GRUB_DISK_CACHE_BITS (LP: #944347).

This commit is contained in:
Colin Watson 2012-03-06 17:43:30 +00:00
parent fcfe10f718
commit 88a545f6bf
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
grub2 (1.99-17) UNRELEASED; urgency=low
* efi_disk_cache.patch: Fix incorrect GRUB_DISK_CACHE_BITS (LP: #944347).
-- Colin Watson <cjwatson@debian.org> Tue, 06 Mar 2012 17:42:31 +0000
grub2 (1.99-16) unstable; urgency=low
* Backport from upstream:

View File

@ -18,7 +18,7 @@ Index: b/include/grub/disk.h
/* The size of a disk cache in sector units. */
+#ifdef GRUB_MACHINE_EFI
+#define GRUB_DISK_CACHE_SIZE 1024
+#define GRUB_DISK_CACHE_BITS 8
+#define GRUB_DISK_CACHE_BITS 10
+#else
#define GRUB_DISK_CACHE_SIZE 8
#define GRUB_DISK_CACHE_BITS 3