* [PATCH] x86, spinlock: Include threads.h
@ 2014-09-30 7:42 Thomas Meyer
0 siblings, 0 replies; only message in thread
From: Thomas Meyer @ 2014-09-30 7:42 UTC (permalink / raw)
To: Linux Kernel Mailing List
NR_CPUS is used, but not included. Fix this.
Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
---
diff --git a/arch/x86/include/asm/spinlock.h b/arch/x86/include/asm/spinlock.h
index 54f1c80..db586f0 100644
--- a/arch/x86/include/asm/spinlock.h
+++ b/arch/x86/include/asm/spinlock.h
@@ -3,6 +3,7 @@
#include <linux/jump_label.h>
#include <linux/atomic.h>
+#include <linux/threads.h>
#include <asm/page.h>
#include <asm/processor.h>
#include <linux/compiler.h>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-09-30 8:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-30 7:42 [PATCH] x86, spinlock: Include threads.h Thomas Meyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®