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

Skip to content
Commit 15280e81 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Miquel Raynal
Browse files

sparc64: add reads{b,w,l}/writes{b,w,l}



Some drivers need these for compile-testing. On most architectures
they come from asm-generic/io.h, but not on sparc64, which has its
own definitions.

Since we already have ioread*_rep()/iowrite*_rep() that have the
same behavior on sparc64 (i.e. all PCI I/O space is memory mapped),
we can rename the existing helpers and add macros to define them
to the same implementation.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
Tested-by: default avatarBoris Brezillon <boris.brezillon@bootlin>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent 0bbf47ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment