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>
This commit is contained in:
hasheddan 2021-11-20 09:26:05 -05:00 committed by Palmer Dabbelt
parent d4cb5d3630
commit 8ee304396e
No known key found for this signature in database
GPG Key ID: 2E1319F35FBB1889

View 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