rcu: Fix sparse warning for rcu_expedited from kernel/ksysfs.c
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 11 Feb 2014 21:10:12 +0000 (16:10 -0500)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 26 Feb 2014 14:35:16 +0000 (06:35 -0800)
commit7a754743185a4b05818e10058fa2fbe4e6969085
tree9713d04467357fd137b71bbcd39499881f62ed55
parent8857563b819b140aa8c9be920cfe44d5d3f808b7
rcu: Fix sparse warning for rcu_expedited from kernel/ksysfs.c

This commit fixes the follwoing warning:

kernel/ksysfs.c:143:5: warning: symbol 'rcu_expedited' was not declared. Should it be static?

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
[ paulmck: Moved the declaration to include/linux/rcupdate.h to avoid
   including the RCU-internal rcu.h file outside of RCU. ]
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
include/linux/rcupdate.h
kernel/ksysfs.c
kernel/rcu/rcu.h