arm64: kconfig: select HAVE_EFFICIENT_UNALIGNED_ACCESS
authorWill Deacon <will.deacon@arm.com>
Mon, 16 Dec 2013 17:50:08 +0000 (17:50 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 19 Dec 2013 17:43:09 +0000 (17:43 +0000)
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>
arch/arm64/Kconfig

index 435c9bc1c86c3c59f184392196dbafda80da16e2..cb9421b540c8ba98bbf8b1f2544169f3b6e70314 100644 (file)
@@ -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