aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/platform/efi
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2019-11-26 08:54:06 -0800
committerIngo Molnar <mingo@kernel.org>2019-12-10 10:15:47 +0100
commite71b6f0b68de3296839a311355c5f590ac3446e5 (patch)
tree9d292dcb282985d764f5a3548bc62d614afec1d8 /arch/x86/platform/efi
parentx86/platform/intel/quark: Explicitly include linux/io.h for virt_to_phys() (diff)
downloadlinux-dev-e71b6f0b68de3296839a311355c5f590ac3446e5.tar.xz
linux-dev-e71b6f0b68de3296839a311355c5f590ac3446e5.zip
x86/efi: Explicitly include realmode.h to handle RM trampoline quirk
Explicitly include asm/realmode.h, which is needed to handle a real mode trampoline quirk in efi_free_boot_services(), instead of picking it up by way of linux/acpi.h. acpi.h will soon stop including realmode.h so that changing realmode.h doesn't require a full kernel rebuild. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Link: https://lkml.kernel.org/r/20191126165417.22423-2-sean.j.christopherson@intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/platform/efi')
-rw-r--r--arch/x86/platform/efi/quirks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/platform/efi/quirks.c b/arch/x86/platform/efi/quirks.c
index 7675cf754d90..4de244683a7e 100644
--- a/arch/x86/platform/efi/quirks.c
+++ b/arch/x86/platform/efi/quirks.c
@@ -16,6 +16,7 @@
#include <asm/efi.h>
#include <asm/uv/uv.h>
#include <asm/cpu_device_id.h>
+#include <asm/realmode.h>
#include <asm/reboot.h>
#define EFI_MIN_RESERVE 5120