projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/include/linux/bit_spinlock.h
b/include/linux/bit_spinlock.h
index 7113a32a86ea9fd8816a32625197c8fa3700d2f2..e612575a259683c2429cd2d1b46a1cc9671d8141 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()
*