RISC-V: __io_writes should respect the length argument

This commit is contained in:
Palmer Dabbelt 2017-12-01 13:14:36 -08:00
commit 7382fbdeae
No known key found for this signature in database
GPG Key ID: EF4CA1502CCBAB41

View File

@ -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; \