From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Rostedt Date: Fri, 22 Nov 2019 02:11:34 +0000 Subject: Re: [PATCH 03/12] x86/ftrace: Explicitly include vmalloc.h for set_vm_flush_reset_perms() Message-Id: <20191121211134.5938b2d9@oasis.local.home> List-Id: References: <20191119002121.4107-1-sean.j.christopherson@intel.com> <20191119002121.4107-4-sean.j.christopherson@intel.com> In-Reply-To: <20191119002121.4107-4-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, "Rafael J. Wysocki" , 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" , 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 Mon, 18 Nov 2019 16:21:12 -0800 Sean Christopherson wrote: > The inclusion of linux/vmalloc.h, which is required for its definition > of set_vm_flush_reset_perms(), is somehow dependent on asm/realmode.h > being included by asm/acpi.h. Explicitly include linux/vmalloc.h so > that a future patch can drop the realmode.h include from asm/acpi.h > without breaking the build. > > Fixes: 7fdfe1e40b225 ("x86/ftrace: Use vmalloc special flag") > Signed-off-by: Sean Christopherson Acked-by: Steven Rostedt (VMware) -- Steve > --- > arch/x86/kernel/ftrace.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/x86/kernel/ftrace.c b/arch/x86/kernel/ftrace.c > index 2a179fb35cd1..681eae0fb64d 100644 > --- a/arch/x86/kernel/ftrace.c > +++ b/arch/x86/kernel/ftrace.c > @@ -23,6 +23,7 @@ > #include > #include > #include > +#include > > #include >