aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/assembler.h
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2021-11-24 11:09:48 +0000
committerArd Biesheuvel <[email protected]>2021-12-06 11:49:16 +0000
commit831a469bc1674b7898984ce96f2902534445c0cf (patch)
treeff91d95c5492bbe7b61a0eaf4185a64c7aa353fb /arch/arm/include/asm/assembler.h
parentirqchip: nvic: Use GENERIC_IRQ_MULTI_HANDLER (diff)
downloadkernel-831a469bc1674b7898984ce96f2902534445c0cf.tar.gz
kernel-831a469bc1674b7898984ce96f2902534445c0cf.zip
ARM: entry: preserve thread_info pointer in switch_to
Tweak the UP stack protector handling code so that the thread info pointer is preserved in R7 until set_current is called. This is needed for a subsequent patch that implements THREAD_INFO_IN_TASK and set_current for UP as well. This also means we will prefer the per-task protector on UP systems that implement the thread ID registers, so tweak the preprocessor conditionals to reflect this. Acked-by: Linus Walleij <[email protected]> Acked-by: Nicolas Pitre <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]> Tested-by: Marc Zyngier <[email protected]> Tested-by: Vladimir Murzin <[email protected]> # ARMv7M
Diffstat (limited to 'arch/arm/include/asm/assembler.h')
0 files changed, 0 insertions, 0 deletions