summaryrefslogtreecommitdiffstats
path: root/efi-dont-map-boot-services-on-32bit.patch
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@fedoraproject.org>2013-09-26 09:53:29 -0400
committerJosh Boyer <jwboyer@fedoraproject.org>2013-09-26 09:53:29 -0400
commit51825034b196039223254cff33328e6caec4b69b (patch)
tree04d73fa46057b3beb5ca8a8420c7798ca9a33038 /efi-dont-map-boot-services-on-32bit.patch
parentc294c6540b441ddad31131edf73005e6eb7bb202 (diff)
downloadkernel-51825034b196039223254cff33328e6caec4b69b.tar.gz
kernel-51825034b196039223254cff33328e6caec4b69b.tar.xz
kernel-51825034b196039223254cff33328e6caec4b69b.zip
Linux v3.12-rc2-83-g4b97280
Diffstat (limited to 'efi-dont-map-boot-services-on-32bit.patch')
-rw-r--r--efi-dont-map-boot-services-on-32bit.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/efi-dont-map-boot-services-on-32bit.patch b/efi-dont-map-boot-services-on-32bit.patch
deleted file mode 100644
index 7cc614992..000000000
--- a/efi-dont-map-boot-services-on-32bit.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c
-index 3ae4128..ff7dc70 100644
---- a/arch/x86/platform/efi/efi.c
-+++ b/arch/x86/platform/efi/efi.c
-@@ -659,10 +659,13 @@ void __init efi_enter_virtual_mode(void)
-
- for (p = memmap.map; p < memmap.map_end; p += memmap.desc_size) {
- md = p;
-- if (!(md->attribute & EFI_MEMORY_RUNTIME) &&
-- md->type != EFI_BOOT_SERVICES_CODE &&
-- md->type != EFI_BOOT_SERVICES_DATA)
-- continue;
-+ if (!(md->attribute & EFI_MEMORY_RUNTIME)) {
-+#ifdef CONFIG_X86_64
-+ if (md->type != EFI_BOOT_SERVICES_CODE &&
-+ md->type != EFI_BOOT_SERVICES_DATA)
-+#endif
-+ continue;
-+ }
-
- size = md->num_pages << EFI_PAGE_SHIFT;
- end = md->phys_addr + size;