[PATCH] rcupreempt: remove export of rcu_batches_completed_bh

Steven Rostedt rostedt at goodmis.org
Fri May 23 04:18:17 EST 2008


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.

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