Skip to content

Commit cbc9113

Browse files
RISC-V: Remove the removed single-letter extensions
There were a few single-letter extensions that we had references to floating around in the kernel, but that never ended up as actual ISA specs and have mostly been replaced by multi-letter extensions. This removes the references to those extensions. Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20231110175903.2631-1-palmer@rivosinc.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent e015eb6 commit cbc9113

2 files changed

Lines changed: 0 additions & 10 deletions

File tree

arch/riscv/include/asm/hwcap.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,13 @@
1111
#include <uapi/asm/hwcap.h>
1212

1313
#define RISCV_ISA_EXT_a ('a' - 'a')
14-
#define RISCV_ISA_EXT_b ('b' - 'a')
1514
#define RISCV_ISA_EXT_c ('c' - 'a')
1615
#define RISCV_ISA_EXT_d ('d' - 'a')
1716
#define RISCV_ISA_EXT_f ('f' - 'a')
1817
#define RISCV_ISA_EXT_h ('h' - 'a')
1918
#define RISCV_ISA_EXT_i ('i' - 'a')
20-
#define RISCV_ISA_EXT_j ('j' - 'a')
21-
#define RISCV_ISA_EXT_k ('k' - 'a')
2219
#define RISCV_ISA_EXT_m ('m' - 'a')
23-
#define RISCV_ISA_EXT_p ('p' - 'a')
2420
#define RISCV_ISA_EXT_q ('q' - 'a')
25-
#define RISCV_ISA_EXT_s ('s' - 'a')
26-
#define RISCV_ISA_EXT_u ('u' - 'a')
2721
#define RISCV_ISA_EXT_v ('v' - 'a')
2822

2923
/*

arch/riscv/kernel/cpufeature.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -244,10 +244,6 @@ const struct riscv_isa_ext_data riscv_isa_ext[] = {
244244
__RISCV_ISA_EXT_DATA(d, RISCV_ISA_EXT_d),
245245
__RISCV_ISA_EXT_DATA(q, RISCV_ISA_EXT_q),
246246
__RISCV_ISA_EXT_DATA(c, RISCV_ISA_EXT_c),
247-
__RISCV_ISA_EXT_DATA(b, RISCV_ISA_EXT_b),
248-
__RISCV_ISA_EXT_DATA(k, RISCV_ISA_EXT_k),
249-
__RISCV_ISA_EXT_DATA(j, RISCV_ISA_EXT_j),
250-
__RISCV_ISA_EXT_DATA(p, RISCV_ISA_EXT_p),
251247
__RISCV_ISA_EXT_DATA(v, RISCV_ISA_EXT_v),
252248
__RISCV_ISA_EXT_DATA(h, RISCV_ISA_EXT_h),
253249
__RISCV_ISA_EXT_DATA(zicbom, RISCV_ISA_EXT_ZICBOM),

0 commit comments

Comments
 (0)