diff options
author | Valdis Klētnieks <valdis.kletnieks@vt.edu> | 2019-12-06 05:36:07 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2019-12-29 15:41:31 +0300 |
commit | bff47c2302cc249bcd550b17067f8dddbd4b6f77 (patch) | |
tree | fa0551edc69844b91482229a88ef8ee29608f25a /arch/x86/entry | |
parent | e133f6eac3fa6591384133b2270b24376813d231 (diff) | |
download | linux-bff47c2302cc249bcd550b17067f8dddbd4b6f77.tar.xz |
x86/vdso: Provide missing include file
When building with C=1, sparse issues a warning:
CHECK arch/x86/entry/vdso/vdso32-setup.c
arch/x86/entry/vdso/vdso32-setup.c:28:28: warning: symbol 'vdso32_enabled' was not declared. Should it be static?
Provide the missing header file.
Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: x86-ml <x86@kernel.org>
Link: https://lkml.kernel.org/r/36224.1575599767@turing-police
Diffstat (limited to 'arch/x86/entry')
-rw-r--r-- | arch/x86/entry/vdso/vdso32-setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/entry/vdso/vdso32-setup.c b/arch/x86/entry/vdso/vdso32-setup.c index 240626e7f55a..43842fade8fa 100644 --- a/arch/x86/entry/vdso/vdso32-setup.c +++ b/arch/x86/entry/vdso/vdso32-setup.c @@ -11,6 +11,7 @@ #include <linux/smp.h> #include <linux/kernel.h> #include <linux/mm_types.h> +#include <linux/elf.h> #include <asm/processor.h> #include <asm/vdso.h> |