Messages in this thread Patch in this message | | | From | "Paul E. McKenney" <> | Subject | [PATCH v4 tip/core/rcu 05/11] rcu: Export RCU-tasks APIs to GPL modules | Date | Mon, 4 Aug 2014 12:20:48 -0700 |
| |
From: Steven Rostedt <rostedt@goodmis.org>
This commit exports the RCU-tasks APIs, call_rcu_tasks(), synchronize_rcu_tasks(), and rcu_barrier_tasks(), to GPL-licensed kernel modules.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> --- kernel/rcu/update.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/kernel/rcu/update.c b/kernel/rcu/update.c index bf5c15a0d72d..0aa7852bff02 100644 --- a/kernel/rcu/update.c +++ b/kernel/rcu/update.c @@ -433,6 +433,7 @@ void synchronize_rcu_tasks(void) /* Wait for the grace period. */ wait_rcu_gp(call_rcu_tasks); } +EXPORT_SYMBOL_GPL(synchronize_rcu_tasks); /** * rcu_barrier_tasks - Wait for in-flight call_rcu_tasks() callbacks. @@ -445,6 +446,7 @@ void rcu_barrier_tasks(void) /* There is only one callback queue, so this is easy. ;-) */ synchronize_rcu_tasks(); } +EXPORT_SYMBOL_GPL(rcu_barrier_tasks); /* See if tasks are still holding out, complain if so. */ static void check_holdout_task(struct task_struct *t) -- 1.8.1.5
| |