summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/smplock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/smplock.h')
-rw-r--r--include/asm-i386/smplock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-i386/smplock.h b/include/asm-i386/smplock.h
index ed5c58254..2c4b30791 100644
--- a/include/asm-i386/smplock.h
+++ b/include/asm-i386/smplock.h
@@ -5,6 +5,8 @@
*/
#include <linux/interrupt.h>
#include <linux/spinlock.h>
+#include <linux/sched.h>
+#include <asm/current.h>
extern spinlock_t kernel_flag;