summaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel/head.S
diff options
context:
space:
mode:
authorhasheddan <georgedanielmangum@gmail.com>2021-11-20 09:26:05 -0500
committerPalmer Dabbelt <palmer@rivosinc.com>2022-01-07 10:18:47 -0800
commit8ee304396e2f3db9c2856fb8f63548f906e6f2e1 (patch)
tree6b6b9e851095f3a3612719ce39377b32740e5584 /arch/riscv/kernel/head.S
parentd4cb5d3630ec135c3c1f9a2669695cd36feaf897 (diff)
downloadlinux-8ee304396e2f3db9c2856fb8f63548f906e6f2e1.tar.bz2
riscv/head: fix misspelling of guaranteed
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> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/kernel/head.S')
-rw-r--r--arch/riscv/kernel/head.S2
1 files changed, 1 insertions, 1 deletions
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