OSDN Git Service

x86/vdso: Provide missing include file
authorValdis Klētnieks <valdis.kletnieks@vt.edu>
Fri, 6 Dec 2019 02:36:07 +0000 (21:36 -0500)
committerBorislav Petkov <bp@suse.de>
Sun, 29 Dec 2019 12:41:31 +0000 (13:41 +0100)
commitbff47c2302cc249bcd550b17067f8dddbd4b6f77
treefa0551edc69844b91482229a88ef8ee29608f25a
parente133f6eac3fa6591384133b2270b24376813d231
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
arch/x86/entry/vdso/vdso32-setup.c