On 05/05/2023 09:02, Ben Dooks wrote:
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.

Has anyone had a chance to review these for merging?

I may be losing the [email protected] address soon,
so please cc [email protected] in further discussions

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


--
Ben Dooks                               http://www.codethink.co.uk/
Senior Engineer                         Codethink - Providing Genius

https://www.codethink.co.uk/privacy.html

Reply via email to