diff options
author | Logan Gunthorpe <logang@deltatee.com> | 2019-01-16 11:25:20 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-22 13:39:59 +0100 |
commit | 79bf0cbd86ac4887a7ac897fec8f011a763e23ba (patch) | |
tree | b9d272b39384a28846027e499c7dd15a177e1c84 /block/partitions/ultrix.h | |
parent | 7d1689a2f377a7a6bee49f8df2cf62265713bf2c (diff) | |
download | linux-79bf0cbd86ac4887a7ac897fec8f011a763e23ba.tar.gz linux-79bf0cbd86ac4887a7ac897fec8f011a763e23ba.tar.bz2 linux-79bf0cbd86ac4887a7ac897fec8f011a763e23ba.zip |
iomap: introduce io{read|write}64_{lo_hi|hi_lo}
In order to provide non-atomic functions for io{read|write}64 that will
use readq and writeq when appropriate. We define a number of variants
of these functions in the generic iomap that will do non-atomic
operations on pio but atomic operations on mmio.
These functions are only defined if readq and writeq are defined. If
they are not, then the wrappers that always use non-atomic operations
from include/linux/io-64-nonatomic*.h will be used.
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Suresh Warrier <warrier@linux.vnet.ibm.com>
Cc: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/partitions/ultrix.h')
0 files changed, 0 insertions, 0 deletions