x86/unwind: Compile kretprobe fixup code only if CONFIG_KRETPROBES=y
authorMasami Hiramatsu <mhiramat@kernel.org>
Thu, 21 Oct 2021 00:54:42 +0000 (09:54 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 22 Oct 2021 16:16:53 +0000 (12:16 -0400)
commit811b93ffaa488a4733270d8c8bc6c773334ab351
tree2446e9be789bee3115da52462e895a916eb2af83
parente44e81c5b90f698025eadceb7eef8661eda117d5
x86/unwind: Compile kretprobe fixup code only if CONFIG_KRETPROBES=y

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>
arch/x86/include/asm/unwind.h