aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-12-16 17:50:08 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2013-12-19 17:43:09 +0000
commit50afc33a90e710c02d9bbf2f3673936365f0e690 (patch)
treeb5d3321c58bcbb5314dfeedc382a8c95d40af4ff
parentarm64: dcache: select DCACHE_WORD_ACCESS for little-endian CPUs (diff)
downloadlinux-dev-50afc33a90e710c02d9bbf2f3673936365f0e690.tar.xz
linux-dev-50afc33a90e710c02d9bbf2f3673936365f0e690.zip
arm64: kconfig: select HAVE_EFFICIENT_UNALIGNED_ACCESS
ARMv8 CPUs can perform efficient unaligned memory accesses in hardware and this feature is relied up on by code such as the dcache word-at-a-time name hashing. This patch selects HAVE_EFFICIENT_UNALIGNED_ACCESS for arm64. Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
-rw-r--r--arch/arm64/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 435c9bc1c86c..cb9421b540c8 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -27,6 +27,7 @@ config ARM64
select HAVE_DEBUG_KMEMLEAK
select HAVE_DMA_API_DEBUG
select HAVE_DMA_ATTRS
+ select HAVE_EFFICIENT_UNALIGNED_ACCESS
select HAVE_GENERIC_DMA_COHERENT
select HAVE_HW_BREAKPOINT if PERF_EVENTS
select HAVE_MEMBLOCK