diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-01-14 16:10:58 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-01-16 10:25:22 +0100 |
commit | 017c426138122c8e9b9f5057fbd0567c37b35247 (patch) | |
tree | 648d35f773bc08e83d06f0c02a68cae02c46a4cd /lib | |
parent | 4c54005ca438a8b46dd542b497d4f0dc2ca375e8 (diff) |
rcu: Fix sparse warnings
Rename local variable "i" in rcu_init() to avoid conflict with
RCU_INIT_FLAVOR(), restrict the scope of RCU_TREE_NONCORE, and
make __synchronize_srcu() static.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: laijs@cn.fujitsu.com
Cc: dipankar@in.ibm.com
Cc: mathieu.desnoyers@polymtl.ca
Cc: josh@joshtriplett.org
Cc: dvhltc@us.ibm.com
Cc: niv@us.ibm.com
Cc: peterz@infradead.org
Cc: rostedt@goodmis.org
Cc: Valdis.Kletnieks@vt.edu
Cc: dhowells@redhat.com
LKML-Reference: <12635142581560-git-send-email->
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions