Skip to content
Commit 75fa4adc authored by Ard Biesheuvel's avatar Ard Biesheuvel
Browse files

ARM: smp: elide HWCAP_TLS checks or __entry_task updates on SMP+v6



Use the SMP_ON_UP patching framework to elide HWCAP_TLS tests from the
context switch and return to userspace code paths, as SMP systems are
guaranteed to have this h/w capability.

At the same time, omit the update of __entry_task if the system is
detected to be UP at runtime, as in that case, the value is never used.

Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent d6905849
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment