2020-05-25 23:06:43

by Chris Packham

[permalink] [raw]
Subject: [PATCH] xtensa: Fix spelling/grammar in comment

Change 'excpetion' to 'exception', 'handeled' to 'handled' and 'the the'
to 'the'.

Signed-off-by: Chris Packham <[email protected]>
---
arch/xtensa/kernel/entry.S | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/xtensa/kernel/entry.S b/arch/xtensa/kernel/entry.S
index 06fbb0a171f1..696b1e4b1a67 100644
--- a/arch/xtensa/kernel/entry.S
+++ b/arch/xtensa/kernel/entry.S
@@ -959,14 +959,14 @@ ENDPROC(unrecoverable_exception)
* of the proper size instead.
*
* This algorithm simply backs out the register changes started by the user
- * excpetion handler, makes it appear that we have started a window underflow
+ * exception handler, makes it appear that we have started a window underflow
* by rotating the window back and then setting the old window base (OWB) in
* the 'ps' register with the rolled back window base. The 'movsp' instruction
* will be re-executed and this time since the next window frames is in the
* active AR registers it won't cause an exception.
*
* If the WindowUnderflow code gets a TLB miss the page will get mapped
- * the the partial windeowUnderflow will be handeled in the double exception
+ * the partial windeowUnderflow will be handled in the double exception
* handler.
*
* Entry condition:
--
2.25.1


2020-05-25 23:16:18

by Max Filippov

[permalink] [raw]
Subject: Re: [PATCH] xtensa: Fix spelling/grammar in comment

On Mon, May 25, 2020 at 4:04 PM Chris Packham
<[email protected]> wrote:
>
> Change 'excpetion' to 'exception', 'handeled' to 'handled' and 'the the'
> to 'the'.
>
> Signed-off-by: Chris Packham <[email protected]>
> ---
> arch/xtensa/kernel/entry.S | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Thanks, applied to my xtensa tree with an additional fix:

> diff --git a/arch/xtensa/kernel/entry.S b/arch/xtensa/kernel/entry.S
> index 06fbb0a171f1..696b1e4b1a67 100644
> --- a/arch/xtensa/kernel/entry.S
> +++ b/arch/xtensa/kernel/entry.S
> @@ -959,14 +959,14 @@ ENDPROC(unrecoverable_exception)
> * of the proper size instead.
> *
> * This algorithm simply backs out the register changes started by the user
> - * excpetion handler, makes it appear that we have started a window underflow
> + * exception handler, makes it appear that we have started a window underflow
> * by rotating the window back and then setting the old window base (OWB) in
> * the 'ps' register with the rolled back window base. The 'movsp' instruction
> * will be re-executed and this time since the next window frames is in the
> * active AR registers it won't cause an exception.
> *
> * If the WindowUnderflow code gets a TLB miss the page will get mapped
> - * the the partial windeowUnderflow will be handeled in the double exception
> + * the partial windeowUnderflow will be handled in the double exception

I've changed windeowUnderflow here to WindowUnderflow.

--
Thanks.
-- Max