Skip to contentSkip to conversation

arch: mips: kernel: Fix two spelling in smp.c

PATCH Applied Bhaskar Chowdhury 3 participants 3 messages Feb 2, 2021 – Feb 3, 2021 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arch: mips: kernel: Fix two spelling in smp.c

s/logcal/logical/
s/intercpu/inter-CPU/

---
Changes from V1 :
Bart point out actual sentence construction was right,so keep it as it is. Randy suggested to put better spelling casing,so inducted Subject line adjusted accoring to the change

 arch/mips/kernel/smp.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/mips/kernel/smp.c +3 -3
index 74b9102fd06e..ef86fbad8546 100644
@@ -59,7 +59,7 @@ static DECLARE_COMPLETION(cpu_starting);
 static DECLARE_COMPLETION(cpu_running);
 
 /*
- * A logcal cpu mask containing only one VPE per core to
+ * A logical cpu mask containing only one VPE per core to
  * reduce the number of IPIs on large MT systems.
  */
 cpumask_t cpu_foreign_map[NR_CPUS] __read_mostly;
@@ -510,8 +510,8 @@ static inline void smp_on_each_tlb(void (*func) (void *info), void *info)
  * address spaces, a new context is obtained on the current cpu, and tlb
  * context on other cpus are invalidated to force a new context allocation
  * at switch_mm time, should the mm ever be used on other cpus. For
- * multithreaded address spaces, intercpu interrupts have to be sent.
- * Another case where intercpu interrupts are required is when the target
+ * multithreaded address spaces, inter-CPU interrupts have to be sent.
+ * Another case where inter-CPU interrupts are required is when the target
  * mm might be active on another cpu (eg debuggers doing the flushes on
  * behalf of debugees, kswapd stealing pages from another process etc).
  * Kanoj 07/00.

--
2.26.2

Acked-by on v2 1/1
#1 lore raw
Quoted 4 lines · Bhaskar Chowdhury

s/logcal/logical/
s/intercpu/inter-CPU/

Thanks.

Quoted 35 lines

---
Changes from V1 :
Bart point out actual sentence construction was right,so keep it as it is. Randy suggested to put better spelling casing,so inducted Subject line adjusted accoring to the change

 arch/mips/kernel/smp.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/mips/kernel/smp.c +3 -4
index 74b9102fd06e..ef86fbad8546 100644
@@ -59,7 +59,7 @@ static DECLARE_COMPLETION(cpu_starting);
 static DECLARE_COMPLETION(cpu_running);
 
 /*
- * A logcal cpu mask containing only one VPE per core to
+ * A logical cpu mask containing only one VPE per core to
  * reduce the number of IPIs on large MT systems.
  */
 cpumask_t cpu_foreign_map[NR_CPUS] __read_mostly;
@@ -510,8 +510,8 @@ static inline void smp_on_each_tlb(void (*func) (void *info), void *info)
  * address spaces, a new context is obtained on the current cpu, and tlb
  * context on other cpus are invalidated to force a new context allocation
  * at switch_mm time, should the mm ever be used on other cpus. For
- * multithreaded address spaces, intercpu interrupts have to be sent.
- * Another case where intercpu interrupts are required is when the target
+ * multithreaded address spaces, inter-CPU interrupts have to be sent.
+ * Another case where inter-CPU interrupts are required is when the target
  * mm might be active on another cpu (eg debuggers doing the flushes on
  * behalf of debugees, kswapd stealing pages from another process etc).
  * Kanoj 07/00.
--

2.26.2

Signature · 1 line
~Randy
maintainer Applied
#2 lore raw
In reply to Bhaskar Chowdhury
Quoted 11 lines · Bhaskar Chowdhury

s/logcal/logical/
s/intercpu/inter-CPU/

---
Changes from V1 :
Bart point out actual sentence construction was right,so keep it as it is. Randy suggested to put better spelling casing,so inducted Subject line adjusted accoring to the change

 arch/mips/kernel/smp.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

applied to mips-next.

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]