Skip to content

Commit 61a41d1

Browse files
RISC-V: Print SSTC in canonical order
This got out of order during a merge conflict, fix it by putting the entries in the correct order. Fixes: 7ab52f7 ("RISC-V: Add Sstc extension support") Signed-off-by: Palmer Dabbelt <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Reviewed-by: Heiko Stuebner <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected]/ Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 542d353 commit 61a41d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/riscv/kernel/cpu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ int riscv_of_parent_hartid(struct device_node *node, unsigned long *hartid)
9292
*/
9393
static struct riscv_isa_ext_data isa_ext_arr[] = {
9494
__RISCV_ISA_EXT_DATA(sscofpmf, RISCV_ISA_EXT_SSCOFPMF),
95+
__RISCV_ISA_EXT_DATA(sstc, RISCV_ISA_EXT_SSTC),
9596
__RISCV_ISA_EXT_DATA(svpbmt, RISCV_ISA_EXT_SVPBMT),
9697
__RISCV_ISA_EXT_DATA(zicbom, RISCV_ISA_EXT_ZICBOM),
9798
__RISCV_ISA_EXT_DATA(zihintpause, RISCV_ISA_EXT_ZIHINTPAUSE),
98-
__RISCV_ISA_EXT_DATA(sstc, RISCV_ISA_EXT_SSTC),
9999
__RISCV_ISA_EXT_DATA("", RISCV_ISA_EXT_MAX),
100100
};
101101

0 commit comments

Comments
 (0)