From: Sean Christopherson Date: Tue, 26 Nov 2019 16:54:09 +0000 (-0800) Subject: x86/kprobes: Explicitly include vmalloc.h for set_vm_flush_reset_perms() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6315ec9286e5146760a22d5ba8ccc6f5606e1401;p=linux.git x86/kprobes: Explicitly include vmalloc.h for set_vm_flush_reset_perms() 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. Signed-off-by: Sean Christopherson Acked-by: Steven Rostedt (VMware) Link: https://lkml.kernel.org/r/20191126165417.22423-5-sean.j.christopherson@intel.com Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/kprobes/core.c b/arch/x86/kernel/kprobes/core.c index 4f13af7cbcdb1..a0c223ab72644 100644 --- a/arch/x86/kernel/kprobes/core.c +++ b/arch/x86/kernel/kprobes/core.c @@ -40,6 +40,7 @@ #include #include #include +#include #include #include