diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2012-10-13 01:14:15 +0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-10-23 14:54:42 -0700 |
commit | f2ebfbc991044fd5b89d4529741d7500feb37fbd (patch) | |
tree | a3bcb1b376b5c0efc441deac6f63652b71791942 /include/linux/srcu.h | |
parent | 4e87b2d7e887df3fe251dd7f702591a3acf369ca (diff) | |
download | op-kernel-dev-f2ebfbc991044fd5b89d4529741d7500feb37fbd.zip op-kernel-dev-f2ebfbc991044fd5b89d4529741d7500feb37fbd.tar.gz |
srcu: Export process_srcu()
Because process_srcu() will be used in DEFINE_SRCU(), which is a macro
that could be expanded pretty much anywhere, it can no longer be static.
Note that process_srcu() is still internal to srcu.h.
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/srcu.h')
-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 a55ddb1..5cce128 100644 --- a/include/linux/srcu.h +++ b/include/linux/srcu.h @@ -78,6 +78,8 @@ int init_srcu_struct(struct srcu_struct *sp); #endif /* #else #ifdef CONFIG_DEBUG_LOCK_ALLOC */ +void process_srcu(struct work_struct *work); + /** * call_srcu() - Queue a callback for invocation after an SRCU grace period * @sp: srcu_struct in queue the callback |