x86, spinlock: Include threads.h
Subsystems (2)
PATCH 1/1 x86, spinlock: Include threads.h
NR_CPUS is used, but not included. Fix this.
Signed-off-by Thomas Meyer <[email protected]>
---
arch/x86/include/asm/spinlock.h +1 -0
@@ -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>