[tip:x86/headers] x86/headers: Include spinlock_types.h in x8664_ksyms_64.c for missing spinlock_t

From: tip-bot for Stephen Rothwell
Date: Tue Jul 19 2016 - 04:01:35 EST


Commit-ID: a203800d97ed635c504b1774dfffee6e7abf95f9
Gitweb: http://git.kernel.org/tip/a203800d97ed635c504b1774dfffee6e7abf95f9
Author: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
AuthorDate: Mon, 18 Jul 2016 18:23:24 +1000
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitDate: Tue, 19 Jul 2016 09:59:07 +0200

x86/headers: Include spinlock_types.h in x8664_ksyms_64.c for missing spinlock_t

Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Acked-by: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx>
Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: linux-next@xxxxxxxxxxxxxxx
Fixes: 186f43608a5c ("x86/kernel: Audit and remove any unnecessary uses of module.h")
Link: http://lkml.kernel.org/r/20160718182922.7b41f923@xxxxxxxxxxxxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
arch/x86/kernel/x8664_ksyms_64.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/x86/kernel/x8664_ksyms_64.c b/arch/x86/kernel/x8664_ksyms_64.c
index 099a4db..a2cca5d 100644
--- a/arch/x86/kernel/x8664_ksyms_64.c
+++ b/arch/x86/kernel/x8664_ksyms_64.c
@@ -2,6 +2,7 @@
All C exports should go in the respective C files. */

#include <linux/export.h>
+#include <linux/spinlock_types.h>
#include <linux/smp.h>

#include <net/checksum.h>