The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] smp: Fix typo in comment for raw_smp_processor_id()
@ 2025-06-10  7:57 Viresh Kumar
  2025-06-10 16:42 ` Boqun Feng
  0 siblings, 1 reply; 2+ messages in thread
From: Viresh Kumar @ 2025-06-10  7:57 UTC (permalink / raw)
  To: linux-kernel
  Cc: Viresh Kumar, Vincent Guittot, Neeraj Upadhyay, Thomas Gleixner,
	Paul E. McKenney, Boqun Feng

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>
---
 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 f1aa0952e8c3..bea8d2826e09 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.
-- 
2.31.1.272.g89b43f80a514


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-06-10 16:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-10  7:57 [PATCH] smp: Fix typo in comment for raw_smp_processor_id() Viresh Kumar
2025-06-10 16:42 ` Boqun Feng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox