summaryrefslogtreecommitdiff
path: root/include/rxrpc
diff options
context:
space:
mode:
authorDavid Daney <david.daney@cavium.com>2014-11-14 17:26:19 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-26 04:06:39 +0300
commitbca2092d78970df3959462d2aae1941e6b24ebdf (patch)
tree488f13b304dae0359039fdc88ff8890085aeeff5 /include/rxrpc
parent93d94b37fd044674e4e495bed82a45c38bde865a (diff)
downloadlinux-bca2092d78970df3959462d2aae1941e6b24ebdf.tar.xz
serial: 8250_dw: Use 64-bit access for OCTEON.
Although the existing code appears to work on most hardware, the hardware designers tell us that 8-bit access to the registers is not guaranteed to be reliable. Also the OCTEON simulation environments prohibit 8-bit accesses. For these reasons, we use __raw_readq/__raw_writeq for OCTEON. This code is protected with #ifdef CONFIG_64BIT so it still builds under configurations lacking readq/writeq. We can get rid of the #ifdef __BIG_ENDIAN, as under 64-bit accesses, OCTEON is byte order invariant. Signed-off-by: David Daney <david.daney@cavium.com> Signed-off-by: Aleksey Makarov <aleksey.makarov@auriga.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/rxrpc')
0 files changed, 0 insertions, 0 deletions