Subject: Re: [PATCH] rcupreempt: remove export of rcu_batches_completed_bh

From: "Paul E. McKenney" <[email-masked]>
Date: Fri, 23 May 2008 07:14:03 -0700

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 <[email-masked]>

> Signed-off-by: Steven Rostedt <[email-masked]>
> ---
>  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;
>