diff options
author | Valdis Klētnieks <valdis.kletnieks@vt.edu> | 2019-12-05 21:36:07 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-28 15:39:00 +0100 |
commit | c1355d39e673d6417ce6a28ce04999767898f74c (patch) | |
tree | 228919b326e237dd3ce60c2ca551f0c0d233edb9 | |
parent | d199b1e6be2b086fc08c237c7a6a5ee205019675 (diff) | |
download | linux-stable-c1355d39e673d6417ce6a28ce04999767898f74c.tar.gz linux-stable-c1355d39e673d6417ce6a28ce04999767898f74c.tar.bz2 linux-stable-c1355d39e673d6417ce6a28ce04999767898f74c.zip |
x86/vdso: Provide missing include file
[ Upstream commit bff47c2302cc249bcd550b17067f8dddbd4b6f77 ]
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
Signed-off-by: Sasha Levin <sashal@kernel.org>
-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 3f9d1a83891a..50c1f77cab15 100644 --- a/arch/x86/entry/vdso/vdso32-setup.c +++ b/arch/x86/entry/vdso/vdso32-setup.c @@ -10,6 +10,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> |