diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2022-01-24 19:51:58 +0100 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2022-01-24 20:37:55 +0100 |
commit | 8b806b82bc804ce8d254ea87d48eaa390451eac4 (patch) | |
tree | 8a05ac7a6856c676aadd6508efc443fff0850ddb /arch/arm/Kconfig | |
parent | 5fe41793bc78d9bb47fea37d1a16984ad6cf294b (diff) | |
download | linux-8b806b82bc804ce8d254ea87d48eaa390451eac4.tar.gz linux-8b806b82bc804ce8d254ea87d48eaa390451eac4.tar.bz2 linux-8b806b82bc804ce8d254ea87d48eaa390451eac4.zip |
ARM: mm: switch to swapper_pg_dir early for vmap'ed stack
When onlining a CPU, switch to swapper_pg_dir as soon as possible so
that it is guaranteed that the vmap'ed stack is mapped before it is
used.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index c32b79453ddf..359a3b85c8b3 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -128,7 +128,7 @@ config ARM select RTC_LIB select SYS_SUPPORTS_APM_EMULATION select THREAD_INFO_IN_TASK - select HAVE_ARCH_VMAP_STACK if MMU && (!LD_IS_LLD || LLD_VERSION >= 140000) && !PM_SLEEP_SMP + select HAVE_ARCH_VMAP_STACK if MMU && (!LD_IS_LLD || LLD_VERSION >= 140000) select TRACE_IRQFLAGS_SUPPORT if !CPU_V7M # Above selects are sorted alphabetically; please add new ones # according to that. Thanks. |