Skip to content

Commit 8ee3043

Browse files
hasheddanpalmer-dabbelt
authored andcommitted
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 <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent d4cb5d3 commit 8ee3043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/riscv/kernel/head.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ relocate:
135135
/*
136136
* Switch to kernel page tables. A full fence is necessary in order to
137137
* avoid using the trampoline translations, which are only correct for
138-
* the first superpage. Fetching the fence is guarnteed to work
138+
* the first superpage. Fetching the fence is guaranteed to work
139139
* because that first superpage is translated the same way.
140140
*/
141141
csrw CSR_SATP, a2

0 commit comments

Comments
 (0)