]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
arm64: unwind: remove sp from struct stackframe
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Sun, 23 Jul 2017 08:05:38 +0000 (09:05 +0100)
committerMark Rutland <mark.rutland@arm.com>
Wed, 9 Aug 2017 13:10:29 +0000 (14:10 +0100)
commit31e43ad3b74a5d7b282023b72f25fc677c14c727
tree8329fe0b3d9d9f51f9bcc6390f9526e70b922aaf
parent7326749801396105aef0ed9229df746ac9e24300
arm64: unwind: remove sp from struct stackframe

The unwind code sets the sp member of struct stackframe to
'frame pointer + 0x10' unconditionally, without regard for whether
doing so produces a legal value. So let's simply remove it now that
we have stopped using it anyway.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: James Morse <james.morse@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/stacktrace.h
arch/arm64/kernel/perf_callchain.c
arch/arm64/kernel/process.c
arch/arm64/kernel/return_address.c
arch/arm64/kernel/stacktrace.c
arch/arm64/kernel/time.c
arch/arm64/kernel/traps.c