OSDN Git Service

rcu: Wire ->rda pointers at compile time
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 21 Jan 2015 06:44:13 +0000 (22:44 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 26 Feb 2015 20:01:27 +0000 (12:01 -0800)
commit2723249a31a68ccc0ec8ac59a905d7f9430bf8f6
tree795977fb8960723ead95a6614784ed209a92172a
parentd3f3f3f25b1d4ee152f3f19a812c3a282da4c120
rcu: Wire ->rda pointers at compile time

This commit wires up the rcu_state structures' ->rda pointers to the
per-CPU rcu_data structures at compile time, thus ensuring that this
linkage is present at early boot, in turn allowing posting of callbacks
before rcu_init() is executed.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c