+1
−0
+2
−13
arch/riscv/include/asm/mmiowb.h
0 → 100644
+14
−0
Loading
In a bid to kill off explicit mmiowb() usage in driver code, hook up the asm-generic mmiowb() tracking code for riscv, so that an mmiowb() is automatically issued from spin_unlock() if an I/O write was performed in the critical section. Reviewed-by:Palmer Dabbelt <palmer@sifive.com> Acked-by:
Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by:
Will Deacon <will.deacon@arm.com>