ia64: use asm-generic/io.h
authorArnd Bergmann <arnd@arndb.de>
Wed, 25 Jul 2018 09:17:20 +0000 (11:17 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 31 Jul 2018 07:46:05 +0000 (09:46 +0200)
commit0bbf47eab4697557718fccc1ec9835c44c47fe7f
treed35f6c70c2b6fe937c6b3851a799794394de9017
parent6a3cec64f18c118c776ee3185f026814e3fe45d4
ia64: use asm-generic/io.h

asm-generic/io.h provides a generic implementation of all I/O accessors,
which the architectures can override.

Since ia64 does not provide readsl/writesl etc, any driver using those
fails to build, and including asm-generic/io.h will provide the
missing interfaces, as well as any other future interfaces that get
added there. We need to #define a couple of symbols to themselves
in the ia64 to ensure that we use the ia64 specific version of those
rather than the generic one.

There should be no other effect than adding {read,write}s{b,w,l}()
as well as {in,out}s{b,w,l}_p(), which were also not provided
by ia64 but are provided by the generic header for historic reasons.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
arch/ia64/include/asm/io.h