diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-04-19 22:24:22 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-05-10 11:08:35 -0700 |
commit | d14aada8e20bdf81ffd43f433b123972cf575b32 (patch) | |
tree | ac8a7682eee53213b47e659d7f5a74a6306f6fa7 /include/linux | |
parent | f1d507beeab1d1d60a1c58eac7dc81522c6f4629 (diff) |
rcu: make SRCU usable in modules
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>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/srcu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/srcu.h b/include/linux/srcu.h index 9c01f102242..4d5d2f546db 100644 --- 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]; }; |