aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/unwind_orc.c
diff options
context:
space:
mode:
authorGravatar Jann Horn <jannh@google.com> 2020-04-25 05:03:04 -0500
committerGravatar Ingo Molnar <mingo@kernel.org> 2020-04-25 12:22:28 +0200
commitf977df7b7ca45a4ac4b66d30a8931d0434c394b1 (patch)
tree2391cc8b70fdc672768c6af8cd75c868b87c8937 /arch/x86/kernel/unwind_orc.c
parentx86/entry/64: Fix unwind hints in __switch_to_asm() (diff)
downloadlinux-f977df7b7ca45a4ac4b66d30a8931d0434c394b1.tar.gz
linux-f977df7b7ca45a4ac4b66d30a8931d0434c394b1.tar.bz2
linux-f977df7b7ca45a4ac4b66d30a8931d0434c394b1.zip
x86/entry/64: Fix unwind hints in rewind_stack_do_exit()
The LEAQ instruction in rewind_stack_do_exit() moves the stack pointer directly below the pt_regs at the top of the task stack before calling do_exit(). Tell the unwinder to expect pt_regs. Fixes: 8c1f75587a18 ("x86/entry/64: Add unwind hint annotations") Reviewed-by: Miroslav Benes <mbenes@suse.cz> Signed-off-by: Jann Horn <jannh@google.com> Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: Andy Lutomirski <luto@kernel.org> Cc: Dave Jones <dsj@fb.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Vince Weaver <vincent.weaver@maine.edu> Link: https://lore.kernel.org/r/68c33e17ae5963854916a46f522624f8e1d264f2.1587808742.git.jpoimboe@redhat.com
Diffstat (limited to 'arch/x86/kernel/unwind_orc.c')
0 files changed, 0 insertions, 0 deletions