]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd12604724b8f0d26727ea133e280723b4f91258e
treed35f6c70c2b6fe937c6b3851a799794394de9017
parent484ecb48da25ac7b418ae52ea454ac0a1fcb87f5
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