summaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorLaura Abbott2014-10-10 00:26:42 +0200
committerLinus Torvalds2014-10-10 04:25:52 +0200
commit36d0fd2198da3fd16b0e0da50ece05b4d295d2f1 (patch)
treeda587f5f38ae3b28a2815dfae658700d03a3a14a /arch/arm/Kconfig
parentcommon: dma-mapping: introduce common remapping functions (diff)
downloadkernel-qcow2-linux-36d0fd2198da3fd16b0e0da50ece05b4d295d2f1.tar.gz
kernel-qcow2-linux-36d0fd2198da3fd16b0e0da50ece05b4d295d2f1.tar.xz
kernel-qcow2-linux-36d0fd2198da3fd16b0e0da50ece05b4d295d2f1.zip
arm: use genalloc for the atomic pool
ARM currently uses a bitmap for tracking atomic allocations. genalloc already handles this type of memory pool allocation so switch to using that instead. Signed-off-by: Laura Abbott <lauraa@codeaurora.org> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: David Riley <davidriley@chromium.org> Cc: Olof Johansson <olof@lixom.net> Cc: Ritesh Harjain <ritesh.harjani@gmail.com> Cc: Russell King <linux@arm.linux.org.uk> Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index d9d32de9628c..36d47987a9e0 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -14,6 +14,7 @@ config ARM
select CLONE_BACKWARDS
select CPU_PM if (SUSPEND || CPU_IDLE)
select DCACHE_WORD_ACCESS if HAVE_EFFICIENT_UNALIGNED_ACCESS
+ select GENERIC_ALLOCATOR
select GENERIC_ATOMIC64 if (CPU_V7M || CPU_V6 || !CPU_32v6K || !AEABI)
select GENERIC_CLOCKEVENTS_BROADCAST if SMP
select GENERIC_IDLE_POLL_SETUP