riscv: Remove unused REG_AMOSWAP_AQ
PATCH 1/1 riscv: Remove unused REG_AMOSWAP_AQ
Its only user was the shadow_stack lock in handle_kernel_stack_overflow, which commit be97d0db5f44 ("riscv: VMAP_STACK overflow detection thread-safe") removed along with shadow_stack itself.
Signed-off-by Davidlohr Bueso <[email protected]>
--- arch/riscv/include/asm/asm.h | 1 - 1 file changed, 1 deletion(-)
arch/riscv/include/asm/asm.h +0 -1
@@ -29,7 +29,6 @@#define REG_L __REG_SEL(ld, lw)#define REG_S __REG_SEL(sd, sw)#define REG_SC __REG_SEL(sc.d, sc.w) -#define REG_AMOSWAP_AQ __REG_SEL(amoswap.d.aq, amoswap.w.aq)#define REG_ASM __REG_SEL(.dword, .word)#define SZREG __REG_SEL(8, 4)#define LGREG __REG_SEL(3, 2)
Signature · 7 lines
2.39.5 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv