From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Date: Wed, 20 Nov 2019 10:59:27 +0000 Subject: Re: [PATCH 10/12] x86/ACPI/sleep: Remove an unnecessary include of asm/realmode.h Message-Id: <3809579.i0RzbxhyKc@kreacher> List-Id: References: <20191119002121.4107-1-sean.j.christopherson@intel.com> <20191119002121.4107-11-sean.j.christopherson@intel.com> In-Reply-To: <20191119002121.4107-11-sean.j.christopherson@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Sean Christopherson Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, Len Brown , Pavel Machek , Tony Luck , Fenghua Yu , Peter Zijlstra , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , "H. Peter Anvin" , Steven Rostedt , Ard Biesheuvel , Darren Hart , Andy Shevchenko , Nadav Amit , "VMware, Inc." , Arnd Bergmann , Greg Kroah-Hartman , Hans de Goede , Cezary Rojewski , Pierre-Louis Bossart , Liam Girdwood , Jie Yang , Mark Brown , Jaroslav Kysela , Takashi Iwai , linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-efi@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-acpi@vger.kernel.org, alsa-devel@alsa-project.org On Tuesday, November 19, 2019 1:21:19 AM CET Sean Christopherson wrote: > 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. > > Fixes: c9b77ccb52a5c ("x86, realmode: Move ACPI wakeup to unified realmode code") > Signed-off-by: Sean Christopherson Acked-by: Rafael J. Wysocki > --- > arch/x86/kernel/acpi/sleep.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/x86/kernel/acpi/sleep.h b/arch/x86/kernel/acpi/sleep.h > index fbb60ca4255c..d06c2079b6c1 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; >