diff options
author | Nick Piggin <npiggin@kernel.dk> | 2011-01-07 17:50:04 +1100 |
---|---|---|
committer | Nick Piggin <npiggin@kernel.dk> | 2011-01-07 17:50:31 +1100 |
commit | 626d607435617cc0f033522083e2bb195b81813c (patch) | |
tree | c1decac81fa5218e7391b6e2b75e2642ec4d8f27 | |
parent | 4e35e6070b1ceed89c3bba2af4216c286fb1dafd (diff) | |
download | lwn-626d607435617cc0f033522083e2bb195b81813c.tar.gz lwn-626d607435617cc0f033522083e2bb195b81813c.zip |
bit_spinlock: add required includes
Signed-off-by: Nick Piggin <npiggin@kernel.dk>
-rw-r--r-- | include/linux/bit_spinlock.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/bit_spinlock.h b/include/linux/bit_spinlock.h index 7113a32a86ea..e612575a2596 100644 --- a/include/linux/bit_spinlock.h +++ b/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() * |