Skip to content

Commit 700c2d9

Browse files
Song Shuaipalmer-dabbelt
authored andcommitted
riscv: vector: Fix a typo of preempt_v
The term "preempt_v" represents the RISCV_PREEMPT_V field of riscv_v_flags and is used in lots of comments. Here corrects the miss-spelling "prempt_v". And s/acheived/achieved/. Reviewed-by: Andy Chiu <andybnac@gmail.com> Signed-off-by: Song Shuai <songshuaishuai@tinylab.org> Link: https://lore.kernel.org/r/20240221100252.3990445-1-songshuaishuai@tinylab.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent 07f2c04 commit 700c2d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/riscv/include/asm/simd.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ static __must_check inline bool may_use_simd(void)
3434
return false;
3535

3636
/*
37-
* Nesting is acheived in preempt_v by spreading the control for
37+
* Nesting is achieved in preempt_v by spreading the control for
3838
* preemptible and non-preemptible kernel-mode Vector into two fields.
39-
* Always try to match with prempt_v if kernel V-context exists. Then,
39+
* Always try to match with preempt_v if kernel V-context exists. Then,
4040
* fallback to check non preempt_v if nesting happens, or if the config
4141
* is not set.
4242
*/

0 commit comments

Comments
 (0)