diff options
author | Josh Poimboeuf <jpoimboe@redhat.com> | 2021-01-22 00:29:31 +0300 |
---|---|---|
committer | Josh Poimboeuf <jpoimboe@redhat.com> | 2021-01-26 20:33:02 +0300 |
commit | 7cae4b1cf1cc42f490422e20662169e8656c915a (patch) | |
tree | 9dd70a8b1a2ab9efafe19d3d83171637e98f0e67 /arch/x86/kernel/acpi | |
parent | 82694854caa8badab7c5d3a19c0139e8b471b1d3 (diff) | |
download | linux-7cae4b1cf1cc42f490422e20662169e8656c915a.tar.xz |
x86/ftrace: Support objtool vmlinux.o validation in ftrace_64.S
With objtool vmlinux.o validation of return_to_handler(), now that
objtool has visibility inside the retpoline, jumping from EMPTY state to
a proper function state results in a stack state mismatch.
return_to_handler() is actually quite normal despite the underlying
magic. Just annotate it as a normal function.
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/14f48e623f61dbdcd84cf27a56ed8ccae73199ef.1611263462.git.jpoimboe@redhat.com
Diffstat (limited to 'arch/x86/kernel/acpi')
0 files changed, 0 insertions, 0 deletions