summaryrefslogtreecommitdiffstats
path: root/kernel/rcutree_plugin.h
diff options
context:
space:
mode:
authorPaul E. McKenney2009-11-22 17:53:49 +0100
committerIngo Molnar2009-11-22 18:58:16 +0100
commit9f680ab41485edfdc96331b70afa7513aa0a7720 (patch)
tree620b34f8129c0ea4ddee033c9875a9f60bfba2ae /kernel/rcutree_plugin.h
parentrcu: Fix grace-period-stall bug on large systems with CPU hotplug (diff)
downloadkernel-qcow2-linux-9f680ab41485edfdc96331b70afa7513aa0a7720.tar.gz
kernel-qcow2-linux-9f680ab41485edfdc96331b70afa7513aa0a7720.tar.xz
kernel-qcow2-linux-9f680ab41485edfdc96331b70afa7513aa0a7720.zip
rcu: Eliminate unneeded function wrapping
The functions rcu_init() is a wrapper for __rcu_init(), and also sets up the CPU-hotplug notifier for rcu_barrier_cpu_hotplug(). But TINY_RCU doesn't need CPU-hotplug notification, and the rcu_barrier_cpu_hotplug() is a simple wrapper for rcu_cpu_notify(). So push rcu_init() out to kernel/rcutree.c and kernel/rcutiny.c and get rid of the wrapper function rcu_barrier_cpu_hotplug(). 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: <12589088302320-git-send-email-> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/rcutree_plugin.h')
0 files changed, 0 insertions, 0 deletions