summaryrefslogtreecommitdiffstats
path: root/queue-2.6.39/x86-efi-retain-boot-service-code-until-after-switching-to.patch
diff options
context:
space:
mode:
Diffstat (limited to 'queue-2.6.39/x86-efi-retain-boot-service-code-until-after-switching-to.patch')
-rw-r--r--queue-2.6.39/x86-efi-retain-boot-service-code-until-after-switching-to.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/queue-2.6.39/x86-efi-retain-boot-service-code-until-after-switching-to.patch b/queue-2.6.39/x86-efi-retain-boot-service-code-until-after-switching-to.patch
index 859b917bb7..71284fe5e7 100644
--- a/queue-2.6.39/x86-efi-retain-boot-service-code-until-after-switching-to.patch
+++ b/queue-2.6.39/x86-efi-retain-boot-service-code-until-after-switching-to.patch
@@ -148,7 +148,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
md = p;
- if (md->type == EFI_RUNTIME_SERVICES_CODE) {
+ if (md->type == EFI_RUNTIME_SERVICES_CODE ||
-+ md->type == EFI_BOOT_SERVICES_CODE)
++ md->type == EFI_BOOT_SERVICES_CODE) {
unsigned long end;
end = md->phys_addr + (md->num_pages << EFI_PAGE_SHIFT);
early_mapping_set_exec(md->phys_addr, end, executable);