Loading
x86/unwind: Compile kretprobe fixup code only if CONFIG_KRETPROBES=y
mainline inclusion from mainline-v5.16-rc1 commit 811b93ff category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9R2TB Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=811b93ffaa488a4733270d8c8bc6c773334ab351 -------------------------------- Compile kretprobe related stacktrace entry recovery code and unwind_state::kr_cur field only when CONFIG_KRETPROBES=y. Signed-off-by:Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by:
Steven Rostedt (VMware) <rostedt@goodmis.org> Conflicts: arch/x86/include/asm/unwind.h Fixes: b0c9f2f39283 ("x86/unwind: Recover kretprobe trampoline entry") Signed-off-by:
Chen Zhongjin <chenzhongjin@huawei.com> Signed-off-by:
Zheng Yejian <zhengyejian1@huawei.com>