Skip to contentSkip to conversation

x86, spinlock: Include threads.h

PATCH New Thomas Meyer 1 participant 1 message Sep 30, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86, spinlock: Include threads.h

NR_CPUS is used, but not included. Fix this.

---

arch/x86/include/asm/spinlock.h +1 -0
index 54f1c80..db586f0 100644
@@ -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>