Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=bb695170d8dff3f22682b6c19df64dc093f58c0a Commit: bb695170d8dff3f22682b6c19df64dc093f58c0a Parent: f17d30a803e8434c4ef381bb5cfa1956ff0201f0 Author: Adrian Bunk <[EMAIL PROTECTED]> AuthorDate: Wed Feb 6 01:36:45 2008 -0800 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Wed Feb 6 10:41:02 2008 -0800
make srcu_readers_active() static Make the needlessly global srcu_readers_active() static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Cc: "Paul E. McKenney" <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- kernel/srcu.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/kernel/srcu.c b/kernel/srcu.c index 3507cab..b0aeeaf 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); - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html