x86/boot: Explicitly include realmode.h to handle RM reservations
authorSean Christopherson <sean.j.christopherson@intel.com>
Tue, 26 Nov 2019 16:54:07 +0000 (08:54 -0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 10 Dec 2019 09:15:47 +0000 (10:15 +0100)
Explicitly include asm/realmode.h, which provides reserve_real_mode(),
instead of picking it up by an indirect include of asm/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-3-sean.j.christopherson@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/setup.c

index b5ac993..a584983 100644 (file)
@@ -35,6 +35,7 @@
 #include <asm/kaslr.h>
 #include <asm/mce.h>
 #include <asm/mtrr.h>
+#include <asm/realmode.h>
 #include <asm/olpc_ofw.h>
 #include <asm/pci-direct.h>
 #include <asm/prom.h>