projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e35e60
)
bit_spinlock: add required includes
author
Nick Piggin
<npiggin@kernel.dk>
Fri, 7 Jan 2011 06:50:04 +0000
(17:50 +1100)
committer
Nick Piggin
<npiggin@kernel.dk>
Fri, 7 Jan 2011 06:50:31 +0000
(17:50 +1100)
Signed-off-by: Nick Piggin <npiggin@kernel.dk>
include/linux/bit_spinlock.h
patch
|
blob
|
history
diff --git
a/include/linux/bit_spinlock.h
b/include/linux/bit_spinlock.h
index
7113a32
..
e612575
100644
(file)
--- 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()
*