arm64: dcache: select DCACHE_WORD_ACCESS for little-endian CPUs
authorWill Deacon <will.deacon@arm.com>
Wed, 6 Nov 2013 19:32:13 +0000 (19:32 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 19 Dec 2013 17:43:08 +0000 (17:43 +0000)
commit7bc13fd33adb9536bd73965cd46bbf7377df097c
tree7b394763246d3362bc40836bf31f17069f5d6ab8
parent4da7a56c59f28e27e8dcff61b5d7b05f6e203606
arm64: dcache: select DCACHE_WORD_ACCESS for little-endian CPUs

DCACHE_WORD_ACCESS uses the word-at-a-time API for optimised string
comparisons in the vfs layer.

This patch implements support for load_unaligned_zeropad in much the
same way as has been done for ARM, although big-endian systems are also
supported.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/Kconfig
arch/arm64/include/asm/word-at-a-time.h