Skip to content

Commit 8a122a6

Browse files
atishp04palmer-dabbelt
authored andcommitted
RISC-V: Fix a comment typo in riscv_of_parent_hartid()
This fixes a typo in a comment that is both obvious and went unnoticed. Signed-off-by: Atish Patra <atishp@rivosinc.com> Fixes: a9b2026 ("RISC-V: Improve /proc/cpuinfo output for ISA extensions") Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent b81d591 commit 8a122a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/riscv/kernel/cpu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ int riscv_of_parent_hartid(struct device_node *node)
7373
* Here are the ordering rules of extension naming defined by RISC-V
7474
* specification :
7575
* 1. All extensions should be separated from other multi-letter extensions
76-
* from other multi-letter extensions by an underscore.
76+
* by an underscore.
7777
* 2. The first letter following the 'Z' conventionally indicates the most
7878
* closely related alphabetical extension category, IMAFDQLCBKJTPVH.
7979
* If multiple 'Z' extensions are named, they should be ordered first

0 commit comments

Comments
 (0)