From: Sean Christopherson Date: Tue, 26 Nov 2019 16:54:15 +0000 (-0800) Subject: x86/ACPI/sleep: Remove an unnecessary include of asm/realmode.h X-Git-Tag: v5.6-rc1~173^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cb28909525acdd1a89c5b2de761eaf2f788c0057;p=thirdparty%2Fkernel%2Flinux.git x86/ACPI/sleep: Remove an unnecessary include of asm/realmode.h None of the declarations in x86's acpi/sleep.h are in any way dependent on the real mode boot code. Remove sleep.h's include of asm/realmode.h to limit the dependencies on realmode.h to code that actually interacts with the boot code. Signed-off-by: Sean Christopherson Acked-by: Rafael J. Wysocki Link: https://lkml.kernel.org/r/20191126165417.22423-11-sean.j.christopherson@intel.com Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/acpi/sleep.h b/arch/x86/kernel/acpi/sleep.h index fbb60ca4255c6..d06c2079b6c14 100644 --- a/arch/x86/kernel/acpi/sleep.h +++ b/arch/x86/kernel/acpi/sleep.h @@ -3,7 +3,7 @@ * Variables and functions used by the code in sleep.c */ -#include +#include extern unsigned long saved_video_mode; extern long saved_magic;