Skip to content

Commit

Permalink
RISC-V: __io_writes should respect the length argument
Browse files Browse the repository at this point in the history
  • Loading branch information
palmer-dabbelt committed Dec 1, 2017
2 parents 07f8ba7 + da894ff commit 7382fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/riscv/include/asm/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ static inline u64 __raw_readq(const volatile void __iomem *addr)
const ctype *buf = buffer; \
\
do { \
__raw_writeq(*buf++, addr); \
__raw_write ## len(*buf++, addr); \
} while (--count); \
} \
afence; \
Expand Down

0 comments on commit 7382fbd

Please sign in to comment.