]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
smp: Fix typo in comment for raw_smp_processor_id()
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 10 Jun 2025 07:57:13 +0000 (13:27 +0530)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 13 Jun 2025 12:48:54 +0000 (14:48 +0200)
The comment in `smp.h` incorrectly refers to `raw_processor_id()`
instead of the correct function name `raw_smp_processor_id()`.

Suggested-by: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Boqun Feng <boqun.feng@gmail.com>
Link: https://lore.kernel.org/all/d096779819962c305b85cd12bda41b593e0981aa.1749536622.git.viresh.kumar@linaro.org
include/linux/smp.h

index f1aa0952e8c30b47b58ffcda4757d137c1790342..bea8d2826e09febd3a890be9100f49413fa8cc41 100644 (file)
@@ -234,7 +234,7 @@ static inline int get_boot_cpu_id(void)
 #endif /* !SMP */
 
 /**
- * raw_processor_id() - get the current (unstable) CPU id
+ * raw_smp_processor_id() - get the current (unstable) CPU id
  *
  * For then you know what you are doing and need an unstable
  * CPU id.