[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <157762397235.30329.4277055045462310201.tip-bot2@tip-bot2>
Date: Sun, 29 Dec 2019 12:52:52 -0000
From: tip-bot2 for Valdis Klētnieks
<tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Valdis Kletnieks <valdis.kletnieks@...edu>,
Borislav Petkov <bp@...e.de>, "H. Peter Anvin" <hpa@...or.com>,
Andy Lutomirski <luto@...nel.org>,
Ingo Molnar <mingo@...hat.com>,
Thomas Gleixner <tglx@...utronix.de>,
"x86-ml" <x86@...nel.org>, LKML <linux-kernel@...r.kernel.org>
Subject: [tip: x86/cleanups] x86/vdso: Provide missing include file
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: bff47c2302cc249bcd550b17067f8dddbd4b6f77
Gitweb: https://git.kernel.org/tip/bff47c2302cc249bcd550b17067f8dddbd4b6f77
Author: Valdis Klētnieks <valdis.kletnieks@...edu>
AuthorDate: Thu, 05 Dec 2019 21:36:07 -05:00
Committer: Borislav Petkov <bp@...e.de>
CommitterDate: Sun, 29 Dec 2019 13:41:31 +01:00
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@...edu>
Signed-off-by: Borislav Petkov <bp@...e.de>
Cc: "H. Peter Anvin" <hpa@...or.com>
Cc: Andy Lutomirski <luto@...nel.org>
Cc: Ingo Molnar <mingo@...hat.com>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: x86-ml <x86@...nel.org>
Link: https://lkml.kernel.org/r/36224.1575599767@turing-police
---
arch/x86/entry/vdso/vdso32-setup.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/entry/vdso/vdso32-setup.c b/arch/x86/entry/vdso/vdso32-setup.c
index 240626e..43842fa 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>
Powered by blists - more mailing lists