diff options
author | Frederic Weisbecker <frederic@kernel.org> | 2022-02-16 16:42:06 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-04-11 17:05:58 -0700 |
commit | 2eed973adc6e749439730e53e6220b122398d319 (patch) | |
tree | 5b4ec105e89f95eac714ff3e2dbb54eadb69204b /kernel/rcu/tree_plugin.h | |
parent | 8d2aaa9b7c290e766a41f29c71ec72192851d538 (diff) |
rcu: Assume rcu_init() is called before smp
The rcu_init() function is called way before SMP is initialized and
therefore only the boot CPU should be online at this stage.
Simplify the boot per-cpu initialization accordingly.
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Cc: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Cc: Uladzislau Rezki <uladzislau.rezki@sony.com>
Cc: Joel Fernandes <joel@joelfernandes.org>
Cc: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/rcu/tree_plugin.h')
0 files changed, 0 insertions, 0 deletions