
5 May
2023
5 May
'23
10:02 a.m.
Fix misisng atomic and test_and_{set,clear}_bit macros to allow the ubi/ubifs code to be built for riscv. These are fairly simple but are not being used outside of ubifs on our builds.
Ben Dooks (3): riscv: add generic link for <asm/atomic.h> riscv: implement local_irq_{save,restore} macros riscv: define test_and_{set,clear}_bit in asm/bitops.h
arch/riscv/include/asm/atomic.h | 14 ++++++++++++++ arch/riscv/include/asm/bitops.h | 3 +++ arch/riscv/include/asm/system.h | 15 +++++++++++---- 3 files changed, 28 insertions(+), 4 deletions(-) create mode 100644 arch/riscv/include/asm/atomic.h
--
2.39.2