Browse Source

bit_spinlock: add required includes

Signed-off-by: Nick Piggin <npiggin@kernel.dk>
Nick Piggin 14 years ago
parent
commit
626d607435
1 changed files with 4 additions and 0 deletions
  1. 4 0
      include/linux/bit_spinlock.h

+ 4 - 0
include/linux/bit_spinlock.h

@@ -1,6 +1,10 @@
 #ifndef __LINUX_BIT_SPINLOCK_H
 #define __LINUX_BIT_SPINLOCK_H
 
+#include <linux/kernel.h>
+#include <linux/preempt.h>
+#include <asm/atomic.h>
+
 /*
  *  bit-based spin_lock()
  *