OSDN Git Service

powerpc: iomap.c: introduce io{read|write}64_{lo_hi|hi_lo}
authorLogan Gunthorpe <logang@deltatee.com>
Tue, 27 Mar 2018 23:08:29 +0000 (17:08 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 5 Apr 2018 04:59:26 +0000 (14:59 +1000)
commit07c3d9eaa4be3a000e2b9386cf678ee78f7f7abb
treef931219a200cca9e0448fb648b4ea57026d0b4c3
parentef237039c5c86b6587ee1fd88857a24fa5978474
powerpc: iomap.c: introduce io{read|write}64_{lo_hi|hi_lo}

These functions will be introduced into the generic iomap.c so they
can deal with PIO accesses in hi-lo/lo-hi variants. Thus, the powerpc
version of iomap.c will need to provide the same functions even
though, in this arch, they are identical to the regular
io{read|write}64 functions.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Tested-by: Horia Geantă <horia.geanta@nxp.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/iomap.c