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/arm64/kernel/smp.c | |
parent | rcu: Conditionally build CPU-hotplug teardown callbacks (diff) | |
download | wireguard-linux-448e9f34d91d1a4799fdb06a93c2c24b34b6fd9d.tar.xz wireguard-linux-448e9f34d91d1a4799fdb06a93c2c24b34b6fd9d.zip |
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/arm64/kernel/smp.c')
-rw-r--r-- | arch/arm64/kernel/smp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c index 8fa646c90c67..196533c362e1 100644 --- a/arch/arm64/kernel/smp.c +++ b/arch/arm64/kernel/smp.c @@ -215,7 +215,7 @@ asmlinkage notrace void secondary_start_kernel(void) if (system_uses_irq_prio_masking()) init_gic_priority_masking(); - rcu_cpu_starting(cpu); + rcutree_report_cpu_starting(cpu); trace_hardirqs_off(); /* @@ -401,7 +401,7 @@ void __noreturn cpu_die_early(void) /* Mark this CPU absent */ set_cpu_present(cpu, 0); - rcu_report_dead(); + rcutree_report_cpu_dead(); if (IS_ENABLED(CONFIG_HOTPLUG_CPU)) { update_cpu_boot_status(CPU_KILL_ME); |