diff mbox series

riscv/head: fix misspelling of guaranteed

Message ID 20211120142608.2068809-1-georgedanielmangum@gmail.com (mailing list archive)
State New, archived
Headers show
Series riscv/head: fix misspelling of guaranteed | expand

Commit Message

hasheddan Nov. 20, 2021, 2:26 p.m. UTC
Fixes misspelling of guaranteed in comment describing why fetching fence
is guaranteed to work when switching to kernel page tables.

Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
---
 arch/riscv/kernel/head.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Palmer Dabbelt Jan. 7, 2022, 7:18 p.m. UTC | #1
On Sat, 20 Nov 2021 06:26:05 PST (-0800), georgedanielmangum@gmail.com wrote:
> Fixes misspelling of guaranteed in comment describing why fetching fence
> is guaranteed to work when switching to kernel page tables.
>
> Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
> ---
>  arch/riscv/kernel/head.S | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/riscv/kernel/head.S b/arch/riscv/kernel/head.S
> index f52f01ecbeea..469eccd3780f 100644
> --- a/arch/riscv/kernel/head.S
> +++ b/arch/riscv/kernel/head.S
> @@ -135,7 +135,7 @@ relocate:
>  	/*
>  	 * Switch to kernel page tables.  A full fence is necessary in order to
>  	 * avoid using the trampoline translations, which are only correct for
> -	 * the first superpage.  Fetching the fence is guarnteed to work
> +	 * the first superpage.  Fetching the fence is guaranteed to work
>  	 * because that first superpage is translated the same way.
>  	 */
>  	csrw CSR_SATP, a2

Thanks, this is on for-next.
diff mbox series

Patch

diff --git a/arch/riscv/kernel/head.S b/arch/riscv/kernel/head.S
index f52f01ecbeea..469eccd3780f 100644
--- a/arch/riscv/kernel/head.S
+++ b/arch/riscv/kernel/head.S
@@ -135,7 +135,7 @@  relocate:
 	/*
 	 * Switch to kernel page tables.  A full fence is necessary in order to
 	 * avoid using the trampoline translations, which are only correct for
-	 * the first superpage.  Fetching the fence is guarnteed to work
+	 * the first superpage.  Fetching the fence is guaranteed to work
 	 * because that first superpage is translated the same way.
 	 */
 	csrw CSR_SATP, a2