diff options
author | Frederic Weisbecker <frederic@kernel.org> | 2023-09-08 22:36:01 +0200 |
---|---|---|
committer | Frederic Weisbecker <frederic@kernel.org> | 2023-10-04 22:29:45 +0200 |
commit | 448e9f34d91d1a4799fdb06a93c2c24b34b6fd9d (patch) | |
tree | 77e710649b98cc016479ce51a8c455d6bf7ed20e /arch/powerpc/kernel | |
parent | 2cb1f6e9a743af58a23cf14563b5eada1e0d3fde (diff) |
rcu: Standardize explicit CPU-hotplug calls
rcu_report_dead() and rcutree_migrate_callbacks() have their headers in
rcupdate.h while those are pure rcutree calls, like the other CPU-hotplug
functions.
Also rcu_cpu_starting() and rcu_report_dead() have different naming
conventions while they mirror each other's effects.
Fix the headers and propose a naming that relates both functions and
aligns with the prefix of other rcutree CPU-hotplug functions.
Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r-- | arch/powerpc/kernel/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c index 5826f5108a12..a30d4d93ff0b 100644 --- a/arch/powerpc/kernel/smp.c +++ b/arch/powerpc/kernel/smp.c @@ -1629,7 +1629,7 @@ void start_secondary(void *unused) smp_store_cpu_info(cpu); set_dec(tb_ticks_per_jiffy); - rcu_cpu_starting(cpu); + rcutree_report_cpu_starting(cpu); cpu_callin_map[cpu] = 1; if (smp_ops->setup_cpu) |