Commit cfd8d6c0 authored by Rakib Mullick's avatar Rakib Mullick Committed by Linus Torvalds

smp: fix documentation in include/linux/smp.h

smp: Fix documentation.

Fix documentation in include/linux/smp.h: smp_processor_id()
Signed-off-by: default avatarRakib Mullick <rakib.mullick@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 72c33688
...@@ -154,7 +154,7 @@ smp_call_function_any(const struct cpumask *mask, void (*func)(void *info), ...@@ -154,7 +154,7 @@ smp_call_function_any(const struct cpumask *mask, void (*func)(void *info),
/* /*
* smp_processor_id(): get the current CPU ID. * smp_processor_id(): get the current CPU ID.
* *
* if DEBUG_PREEMPT is enabled the we check whether it is * if DEBUG_PREEMPT is enabled then we check whether it is
* used in a preemption-safe way. (smp_processor_id() is safe * used in a preemption-safe way. (smp_processor_id() is safe
* if it's used in a preemption-off critical section, or in * if it's used in a preemption-off critical section, or in
* a thread that is bound to the current CPU.) * a thread that is bound to the current CPU.)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment