summaryrefslogtreecommitdiffstats
path: root/drivers/video/aty/atyfb_base.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2014-01-23 14:41:09 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-02-11 15:01:04 +0200
commitc29dd8696dc5dbd50b3ac441b8a26751277ba520 (patch)
tree36e7c97bda98cff02557b602572b076b89931994 /drivers/video/aty/atyfb_base.c
parentbf26e6d2fed45da619ae0ef675a09b794db6e449 (diff)
downloadop-kernel-dev-c29dd8696dc5dbd50b3ac441b8a26751277ba520.zip
op-kernel-dev-c29dd8696dc5dbd50b3ac441b8a26751277ba520.tar.gz
mach64: use unaligned access
This patch fixes mach64 to use unaligned access to the font bitmap. This fixes unaligned access warning on sparc64 when 14x8 font is loaded. On x86(64), unaligned access is handled in hardware, so both functions le32_to_cpup and get_unaligned_le32 perform the same operation. On RISC machines, unaligned access is not handled in hardware, so we better use get_unaligned_le32 to avoid the unaligned trap and warning. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/aty/atyfb_base.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud