summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/sys32.c
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2018-07-11 15:56:47 +0200
committerWill Deacon <will.deacon@arm.com>2018-07-12 15:49:47 +0200
commit99ed3ed08d629eb0db6866d266e2bbe35efa5f9d (patch)
treed9970bf3fca6b46bebf324a4bd921c3b800aafb7 /arch/arm64/kernel/sys32.c
parentarm64: don't restore GPRs when context tracking (diff)
downloadlinux-99ed3ed08d629eb0db6866d266e2bbe35efa5f9d.tar.xz
linux-99ed3ed08d629eb0db6866d266e2bbe35efa5f9d.zip
arm64: don't reload GPRs after apply_ssbd
Now that all of the syscall logic works on the saved pt_regs, apply_ssbd can safely corrupt x0-x3 in the entry paths, and we no longer need to restore them. So let's remove the logic doing so. With that logic gone, we can fold the branch target into the macro, so that callers need not deal with this. GAS provides \@, which provides a unique value per macro invocation, which we can use to create a unique label. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Acked-by: Marc Zyngier <marc.zyngier@arm.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/sys32.c')
0 files changed, 0 insertions, 0 deletions