From: Adrian Bunk Date: Wed, 6 Feb 2008 09:36:45 +0000 (-0800) Subject: make srcu_readers_active() static X-Git-Tag: v2.6.25-rc1~745 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=bb695170d8dff3f22682b6c19df64dc093f58c0a;p=linux-2.6-omap-h63xx.git make srcu_readers_active() static Make the needlessly global srcu_readers_active() static. Signed-off-by: Adrian Bunk Cc: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/srcu.c b/kernel/srcu.c index 3507cabe963..b0aeeaf22ce 100644 --- a/kernel/srcu.c +++ b/kernel/srcu.c @@ -74,7 +74,7 @@ static int srcu_readers_active_idx(struct srcu_struct *sp, int idx) * severe errors when invoked on an active srcu_struct. That said, it * can be useful as an error check at cleanup time. */ -int srcu_readers_active(struct srcu_struct *sp) +static int srcu_readers_active(struct srcu_struct *sp) { return srcu_readers_active_idx(sp, 0) + srcu_readers_active_idx(sp, 1); } @@ -255,4 +255,3 @@ EXPORT_SYMBOL_GPL(srcu_read_lock); EXPORT_SYMBOL_GPL(srcu_read_unlock); EXPORT_SYMBOL_GPL(synchronize_srcu); EXPORT_SYMBOL_GPL(srcu_batches_completed); -EXPORT_SYMBOL_GPL(srcu_readers_active);