summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/meson_uart.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-11-16 20:41:02 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-14 06:59:48 +0300
commitf5ce6edd22cff94e7b4a17f26cad43e60ae3d080 (patch)
treec8c986ba2bc78c8b3b5a985c4faf4f73791258b4 /drivers/tty/serial/meson_uart.c
parent7ec758718920e5e5876d0d02ece6855128c8eb1e (diff)
downloadlinux-f5ce6edd22cff94e7b4a17f26cad43e60ae3d080.tar.xz
tty: amba-pl011: switch to using relaxed IO accessors
Using relaxed IO accessors allows GCC to better optimise this code as we eliminate the heavy memory barriers - for example, GCC can now cache the address of a register across a read-modify-write sequence, rather than reloading the base address, offset and access size flag. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Reviewed-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/meson_uart.c')
0 files changed, 0 insertions, 0 deletions