summaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2023-06-22 21:24:30 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2023-06-24 14:12:58 -0700
commit8b35ca3e45e35a26a21427f35d4093606e93ad0a (patch)
treea5e755ba10e7ebfc8770ae4f247aaad5cf831e58 /arch/arm/Kconfig
parent7267ef7b0b77f4ed23b7b3c87d8eca7bd9c2d007 (diff)
downloadlinux-8b35ca3e45e35a26a21427f35d4093606e93ad0a.tar.gz
linux-8b35ca3e45e35a26a21427f35d4093606e93ad0a.tar.bz2
linux-8b35ca3e45e35a26a21427f35d4093606e93ad0a.zip
arm/mm: Convert to using lock_mm_and_find_vma()
arm has an additional check for address < FIRST_USER_ADDRESS before expanding the stack. Since FIRST_USER_ADDRESS is defined everywhere (generally as 0), move that check to the generic expand_downwards(). Signed-off-by: Ben Hutchings <ben@decadent.org.uk> 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 0fb4b218f665..9ed7f03ba15a 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -125,6 +125,7 @@ config ARM
select HAVE_UID16
select HAVE_VIRT_CPU_ACCOUNTING_GEN
select IRQ_FORCED_THREADING
+ select LOCK_MM_AND_FIND_VMA
select MODULES_USE_ELF_REL
select NEED_DMA_MAP_STATE
select OF_EARLY_FLATTREE if OF