File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ extern unsigned long elf_hwcap;
53
53
enum riscv_isa_ext_id {
54
54
RISCV_ISA_EXT_SSCOFPMF = RISCV_ISA_EXT_BASE ,
55
55
RISCV_ISA_EXT_SVPBMT ,
56
+ RISCV_ISA_EXT_SSTC ,
56
57
RISCV_ISA_EXT_ID_MAX = RISCV_ISA_EXT_MAX ,
57
58
};
58
59
Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ int riscv_of_parent_hartid(struct device_node *node)
89
89
static struct riscv_isa_ext_data isa_ext_arr [] = {
90
90
__RISCV_ISA_EXT_DATA (sscofpmf , RISCV_ISA_EXT_SSCOFPMF ),
91
91
__RISCV_ISA_EXT_DATA (svpbmt , RISCV_ISA_EXT_SVPBMT ),
92
+ __RISCV_ISA_EXT_DATA (sstc , RISCV_ISA_EXT_SSTC ),
92
93
__RISCV_ISA_EXT_DATA ("" , RISCV_ISA_EXT_MAX ),
93
94
};
94
95
Original file line number Diff line number Diff line change @@ -199,6 +199,7 @@ void __init riscv_fill_hwcap(void)
199
199
} else {
200
200
SET_ISA_EXT_MAP ("sscofpmf" , RISCV_ISA_EXT_SSCOFPMF );
201
201
SET_ISA_EXT_MAP ("svpbmt" , RISCV_ISA_EXT_SVPBMT );
202
+ SET_ISA_EXT_MAP ("sstc" , RISCV_ISA_EXT_SSTC );
202
203
}
203
204
#undef SET_ISA_EXT_MAP
204
205
}
You can’t perform that action at this time.
0 commit comments