projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1d507b
)
rcu: make SRCU usable in modules
author
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Tue, 20 Apr 2010 05:24:22 +0000
(22:24 -0700)
committer
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Mon, 10 May 2010 18:08:35 +0000
(11:08 -0700)
Add a #include for mutex.h to allow SRCU to be more easily used in
kernel modules.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/srcu.h
patch
|
blob
|
history
diff --git
a/include/linux/srcu.h
b/include/linux/srcu.h
index 9c01f10224284ee21b434d22678ba2330cf26876..4d5d2f546dbff11ee6a4abb6ad2cc53770d45aeb 100644
(file)
--- a/
include/linux/srcu.h
+++ b/
include/linux/srcu.h
@@
-27,6
+27,8
@@
#ifndef _LINUX_SRCU_H
#define _LINUX_SRCU_H
+#include <linux/mutex.h>
+
struct srcu_struct_array {
int c[2];
};