rcu: add __cpuinit to rcu_init_percpu_data()
authorLai Jiangshan <laijs@cn.fujitsu.com>
Wed, 14 Jan 2009 06:58:15 +0000 (14:58 +0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 14 Jan 2009 10:26:40 +0000 (11:26 +0100)
commite4fa4c97016037620f9dc8bafe03e1086b665b4c
tree130944c01e928d8a5e06aea635b222cb28515df8
parenta6525042bfdfcab128bd91fad264de10fd24a55e
rcu: add __cpuinit to rcu_init_percpu_data()

Impact: reduce memory footprint

add __cpuinit to rcu_init_percpu_data(), and this function's text
will be discarded after boot when !CONFIG_HOTPLUG_CPU.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/rcuclassic.c
kernel/rcutree.c