diff options
author | Sean Christopherson <[email protected]> | 2019-11-26 08:54:08 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-12-10 10:15:47 +0100 |
commit | ac0b14dc16561c530796bfe9646ac2e0369a0bd6 (patch) | |
tree | 017e753cbd77de33cf0132da3d0f78d5100a7d49 | |
parent | ca947b72e1dec3a000190733f7e0be38fe73eaae (diff) |
x86/ftrace: 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 <[email protected]>
Acked-by: Steven Rostedt (VMware) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r-- | arch/x86/kernel/ftrace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/ftrace.c b/arch/x86/kernel/ftrace.c index 060a361d9d11..18560d00bcb0 100644 --- a/arch/x86/kernel/ftrace.c +++ b/arch/x86/kernel/ftrace.c @@ -23,6 +23,7 @@ #include <linux/list.h> #include <linux/module.h> #include <linux/memory.h> +#include <linux/vmalloc.h> #include <trace/syscall.h> |