Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment