Re: [PATCH 1/2] ia64: use asm-generic/io.h

From: Boris Brezillon
Date: Fri Jul 27 2018 - 01:31:41 EST


Hi Arnd,

On Wed, 11 Jul 2018 14:08:05 +0200
Arnd Bergmann <arnd@xxxxxxxx> wrote:

> 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.
>

Kbuild robots reported the same problem on parisc an alpha :-/.

Regards,

Boris
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html