asm-generic: allow generic unaligned access if the arch supports it
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 1 May 2014 15:49:33 +0000 (17:49 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 8 May 2014 08:22:23 +0000 (10:22 +0200)
commit0567f5facbdf04806a37ef521dd0893159fde715
tree018f29aa08fd585eaf8d028a29f62f7d99249287
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
asm-generic: allow generic unaligned access if the arch supports it

Switch the default unaligned access method to 'hardware implemented'
if HAVE_EFFICIENT_UNALIGNED_ACCESS is set.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
include/asm-generic/unaligned.h