rcu: Merge per-RCU-flavor initialization into pre-existing macro
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sat, 22 Aug 2009 20:56:49 +0000 (13:56 -0700)
committerIngo Molnar <mingo@elte.hu>
Sun, 23 Aug 2009 08:32:38 +0000 (10:32 +0200)
commit65cf8f866fc0fb40fa9daaded7e938a886d6f7c5
tree88ca0b1bab821ea7e887384ffaecf751d7ec54bc
parent5699ed8fcb0c32ca699e2a27ad716eb70b367dbf
rcu: Merge per-RCU-flavor initialization into pre-existing macro

Rename the RCU_DATA_PTR_INIT() macro to RCU_INIT_FLAVOR() and
make it do the rcu_init_one() and rcu_boot_init_percpu_data()
calls.  Merge the loop that was in the original macro with the
loops that were in __rcu_init().

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: laijs@cn.fujitsu.com
Cc: dipankar@in.ibm.com
Cc: akpm@linux-foundation.org
Cc: mathieu.desnoyers@polymtl.ca
Cc: josht@linux.vnet.ibm.com
Cc: dvhltc@us.ibm.com
Cc: niv@us.ibm.com
Cc: peterz@infradead.org
Cc: rostedt@goodmis.org
LKML-Reference: <12509746133916-git-send-email->
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/rcutree.c