riscv/head: fix misspelling of guaranteed
authorhasheddan <georgedanielmangum@gmail.com>
Sat, 20 Nov 2021 14:26:05 +0000 (09:26 -0500)
committerPalmer Dabbelt <palmer@rivosinc.com>
Fri, 7 Jan 2022 18:18:47 +0000 (10:18 -0800)
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>
arch/riscv/kernel/head.S

index f52f01ecbeea0486d1abd63e603995c4b4c41207..469eccd3780f3d59e6c4d0fb3b6c7b3462294845 100644 (file)
@@ -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