mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-11 15:40:50 +00:00
RISC-V: __io_writes should respect the length argument
This commit is contained in:
commit
7382fbdeae
@ -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; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user