summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChin Yik Ming <yikming2222@gmail.com>2024-11-15 05:27:25 +0800
committerAlexandre Ghiti <alexghiti@rivosinc.com>2025-03-18 13:02:47 +0000
commit418af0eafb48bbd972040703e5ff5ba94526b5b5 (patch)
treee9832d959a93504ede53da30d2207d705029bd66
parenta5edc510da314af336d1df133370a0608864e092 (diff)
riscv: Fix a comment typo in set_mm_asid()
s/verion/version Signed-off-by: Chin Yik Ming <yikming2222@gmail.com> Reviewed-by: Charlie Jenkins <charlie@rivosinc.com> Link: https://lore.kernel.org/r/20241114212725.4172401-1-yikming2222@gmail.com Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
-rw-r--r--arch/riscv/mm/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/mm/context.c b/arch/riscv/mm/context.c
index 4abe3de23225..55c20ad1f744 100644
--- a/arch/riscv/mm/context.c
+++ b/arch/riscv/mm/context.c
@@ -158,7 +158,7 @@ static void set_mm_asid(struct mm_struct *mm, unsigned int cpu)
*
* - We get a zero back from the cmpxchg and end up waiting on the
* lock. Taking the lock synchronises with the rollover and so
- * we are forced to see the updated verion.
+ * we are forced to see the updated version.
*
* - We get a valid context back from the cmpxchg then we continue
* using old ASID because __flush_context() would have marked ASID