[PATCH] rcupreempt: remove export of rcu_batches_completed_bh
Paul E. McKenney
paulmck at linux.vnet.ibm.com
Sat May 24 00:14:03 EST 2008
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 <paulmck at linux.vnet.ibm.com>
> Signed-off-by: Steven Rostedt <srostedt at redhat.com>
> ---
> 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;
>
More information about the Linuxppc-dev
mailing list