summaryrefslogtreecommitdiff
path: root/include/media/v4l2-mc.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-05-08 00:07:50 +0200
committerArnd Bergmann <arnd@arndb.de>2021-05-10 17:50:47 +0200
commitf12d3ff3f41cc92f67cfaf29697685e8834fe4a4 (patch)
treeabfa0f845a558b68496b20de684207a841b347cf /include/media/v4l2-mc.h
parent3aec1db05d1ba631311beca4715655591a9e17d5 (diff)
powerpc: use linux/unaligned/le_struct.h on LE power7
Little-endian POWER7 kernels disable CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS because that is not supported on the hardware, but the kernel still uses direct load/store for explicti get_unaligned()/put_unaligned(). I assume this is a mistake that leads to power7 having to trap and fix up all these unaligned accesses at a noticeable performance cost. The fix is completely trivial, just remove the file and use the generic version that gets it right. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/media/v4l2-mc.h')
0 files changed, 0 insertions, 0 deletions