summaryrefslogtreecommitdiffstats
path: root/include/linux/i2c-pnx.h
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2010-03-28 11:12:30 +0800
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-05-10 11:08:31 -0700
commit0c34029abdfdea64420cb4264c4e91a776b22157 (patch)
tree9025ccfef4210c04520617a4ae11ec4f24128660 /include/linux/i2c-pnx.h
parentf261414f0d56dd1a0e34888e27d1d4902ad052f3 (diff)
downloadlinux-0c34029abdfdea64420cb4264c4e91a776b22157.tar.gz
linux-0c34029abdfdea64420cb4264c4e91a776b22157.tar.bz2
linux-0c34029abdfdea64420cb4264c4e91a776b22157.zip
rcu: move some code from macro to function
Shrink the RCU_INIT_FLAVOR() macro by moving all but the initialization of the ->rda[] array to rcu_init_one(). The call to rcu_init_one() can then be moved to the end of the RCU_INIT_FLAVOR() macro, which is required because rcu_boot_init_percpu_data(), which is now called from rcu_init_one(), depends on the initialization of the ->rda[] array. Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include/linux/i2c-pnx.h')
0 files changed, 0 insertions, 0 deletions