linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2] arch: mips: kernel: Fix two spelling in smp.c
@ 2021-02-02  9:18 Bhaskar Chowdhury
  2021-02-02 22:10 ` Randy Dunlap
  2021-02-03 10:38 ` Thomas Bogendoerfer
  0 siblings, 2 replies; 3+ messages in thread
From: Bhaskar Chowdhury @ 2021-02-02  9:18 UTC (permalink / raw)
  To: tsbogend, peterz, frederic, peterx, afzal.mohd.ma, linux-mips,
	linux-kernel
  Cc: rdunlap, Bhaskar Chowdhury

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

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
 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(-)

diff --git a/arch/mips/kernel/smp.c b/arch/mips/kernel/smp.c
index 74b9102fd06e..ef86fbad8546 100644
--- a/arch/mips/kernel/smp.c
+++ b/arch/mips/kernel/smp.c
@@ -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


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

* Re: [PATCH V2] arch: mips: kernel: Fix two spelling in smp.c
  2021-02-02  9:18 [PATCH V2] arch: mips: kernel: Fix two spelling in smp.c Bhaskar Chowdhury
@ 2021-02-02 22:10 ` Randy Dunlap
  2021-02-03 10:38 ` Thomas Bogendoerfer
  1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2021-02-02 22:10 UTC (permalink / raw)
  To: Bhaskar Chowdhury, tsbogend, peterz, frederic, peterx,
	afzal.mohd.ma, linux-mips, linux-kernel

On 2/2/21 1:18 AM, Bhaskar Chowdhury wrote:
> s/logcal/logical/
> s/intercpu/inter-CPU/
> 
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.

> ---
>  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(-)
> 
> diff --git a/arch/mips/kernel/smp.c b/arch/mips/kernel/smp.c
> index 74b9102fd06e..ef86fbad8546 100644
> --- a/arch/mips/kernel/smp.c
> +++ b/arch/mips/kernel/smp.c
> @@ -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
> 


-- 
~Randy


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

* Re: [PATCH V2] arch: mips: kernel: Fix two spelling in smp.c
  2021-02-02  9:18 [PATCH V2] arch: mips: kernel: Fix two spelling in smp.c Bhaskar Chowdhury
  2021-02-02 22:10 ` Randy Dunlap
@ 2021-02-03 10:38 ` Thomas Bogendoerfer
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Bogendoerfer @ 2021-02-03 10:38 UTC (permalink / raw)
  To: Bhaskar Chowdhury
  Cc: peterz, frederic, peterx, afzal.mohd.ma, linux-mips, linux-kernel,
	rdunlap

On Tue, Feb 02, 2021 at 02:48:11PM +0530, Bhaskar Chowdhury wrote:
> s/logcal/logical/
> s/intercpu/inter-CPU/
> 
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
> ---
>  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.

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

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

end of thread, other threads:[~2021-02-03 10:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-02  9:18 [PATCH V2] arch: mips: kernel: Fix two spelling in smp.c Bhaskar Chowdhury
2021-02-02 22:10 ` Randy Dunlap
2021-02-03 10:38 ` Thomas Bogendoerfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).