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

From: Miquel Raynal
Date: Thu Jul 26 2018 - 19:28:44 EST


Hi Boris,

Boris Brezillon <boris.brezillon@xxxxxxxxxxx> wrote on Fri, 20 Jul 2018
11:10:04 +0200:

> +Miquel
>
> 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.
> >
> > Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
>
> As for the other patch, I compile-tested it and it fixes the
> compilation errors reported by kbuild robots.
>
> Tested-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxx>
>
> If everyone is fine with that, we'll take the patch through the NAND
> tree.

Applied to nand/next.

Thanks,
MiquÃl