]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Add exports for per-CPU variables used for inlining
authorPaul E. McKenney <paul.mckenney@linaro.org>
Tue, 17 Apr 2012 16:24:41 +0000 (09:24 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 25 Apr 2012 03:55:31 +0000 (20:55 -0700)
commite798cf3385d3aa7c84afa65677eb92e0c0876dfd
tree358dbc62645466a66dd81b473dd6f68b15cae3f0
parent1bf0ea803f6f1bf828e81f7091b63dca218f8a53
rcu: Add exports for per-CPU variables used for inlining

The new rcu_read_lock_nesting and rcu_read_unlock_special per-CPU
variables need to be accessible from modules to allow rcu_read_lock()
and rcu_read_unlock() to continue to be used from modules.  This
commit therefore adds the needed EXPORT_PER_CPU_SYMBOL_GPL()s.

Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcupdate.c