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/x86/kernel/smpboot.c | |
parent | 2cb1f6e9a743af58a23cf14563b5eada1e0d3fde (diff) | |
download | lwn-448e9f34d91d1a4799fdb06a93c2c24b34b6fd9d.tar.gz lwn-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/x86/kernel/smpboot.c')
-rw-r--r-- | arch/x86/kernel/smpboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 4e45ff44aa07..4ccb76f89af8 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -288,7 +288,7 @@ static void notrace start_secondary(void *unused) cpu_init(); fpu__init_cpu(); - rcu_cpu_starting(raw_smp_processor_id()); + rcutree_report_cpu_starting(raw_smp_processor_id()); x86_cpuinit.early_percpu_clock_init(); ap_starting(); |