diff options
| -rw-r--r-- | arch/riscv/include/asm/io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/include/asm/io.h b/arch/riscv/include/asm/io.h index c1f32cfcc79b..507ee6a16e67 100644 --- a/arch/riscv/include/asm/io.h +++ b/arch/riscv/include/asm/io.h | |||
| @@ -250,7 +250,7 @@ static inline u64 __raw_readq(const volatile void __iomem *addr) | |||
| 250 | const ctype *buf = buffer; \ | 250 | const ctype *buf = buffer; \ |
| 251 | \ | 251 | \ |
| 252 | do { \ | 252 | do { \ |
| 253 | __raw_writeq(*buf++, addr); \ | 253 | __raw_write ## len(*buf++, addr); \ |
| 254 | } while (--count); \ | 254 | } while (--count); \ |
| 255 | } \ | 255 | } \ |
| 256 | afence; \ | 256 | afence; \ |
