diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-04-20 05:24:22 (GMT) |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-05-10 18:08:35 (GMT) |
commit | d14aada8e20bdf81ffd43f433b123972cf575b32 (patch) | |
tree | ac8a7682eee53213b47e659d7f5a74a6306f6fa7 /include | |
parent | f1d507beeab1d1d60a1c58eac7dc81522c6f4629 (diff) | |
download | linux-fsl-qoriq-d14aada8e20bdf81ffd43f433b123972cf575b32.tar.xz |
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')
-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 9c01f10..4d5d2f5 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]; }; |