Re: [PATCH] rcupreempt: remove export of rcu_batches_completed_bh
From: Paul E. McKenney <hidden>
Date: 2008-05-23 14:14:39
Also in:
lkml
From: Paul E. McKenney <hidden>
Date: 2008-05-23 14:14:39
Also in:
lkml
On Thu, May 22, 2008 at 02:18:17PM -0400, Steven Rostedt wrote:
In rcupreempt, rcu_batches_completed_bh is defined as a static inline in the header file. This does not need to be exported, and not only that, this breaks my PPC build.
Good catch!!! Reviewed-by: Paul E. McKenney <redacted>
Signed-off-by: Steven Rostedt <redacted> --- kernel/rcupreempt.c | 2 -- 1 file changed, 2 deletions(-) Index: linux-tip.git/kernel/rcupreempt.c ===================================================================--- linux-tip.git.orig/kernel/rcupreempt.c 2008-05-22 11:12:30.000000000 -0700 +++ linux-tip.git/kernel/rcupreempt.c 2008-05-22 11:12:33.000000000 -0700@@ -217,8 +217,6 @@ long rcu_batches_completed(void) } EXPORT_SYMBOL_GPL(rcu_batches_completed); -EXPORT_SYMBOL_GPL(rcu_batches_completed_bh); - void __rcu_read_lock(void) { int idx;