[tip: smp/core] smp: Fix typo in comment for raw_smp_processor_id()

From: tip-bot2 for Viresh Kumar
Date: Fri Jun 13 2025 - 08:58:52 EST


The following commit has been merged into the smp/core branch of tip:

Commit-ID: 09735f0624b494c0959f3327af009283567af320
Gitweb: https://git.kernel.org/tip/09735f0624b494c0959f3327af009283567af320
Author: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
AuthorDate: Tue, 10 Jun 2025 13:27:13 +05:30
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitterDate: Fri, 13 Jun 2025 14:48:54 +02:00

smp: Fix typo in comment for raw_smp_processor_id()

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@xxxxxxxxx>
Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Reviewed-by: Boqun Feng <boqun.feng@xxxxxxxxx>
Link: https://lore.kernel.org/all/d096779819962c305b85cd12bda41b593e0981aa.1749536622.git.viresh.kumar@xxxxxxxxxx

---
include/linux/smp.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/smp.h b/include/linux/smp.h
index f1aa095..bea8d28 100644
--- a/include/linux/smp.h
+++ b/include/linux/smp.h
@@ -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.