Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 7382fbde authored by Palmer Dabbelt's avatar Palmer Dabbelt
Browse files

RISC-V: __io_writes should respect the length argument

parents 07f8ba74 da894ff1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;								\