diff options
author | Josh Poimboeuf <jpoimboe@kernel.org> | 2023-04-19 00:27:51 +0300 |
---|---|---|
committer | Josh Poimboeuf <jpoimboe@kernel.org> | 2023-05-16 16:31:53 +0300 |
commit | 55eeab2a8a11b71586ef0ad3adf532ca5f97d4be (patch) | |
tree | 6354f10fb559320d0683fe47a948da07ae995d31 /.gitignore | |
parent | fedb724c3db5490234ddde0103811c28c2fedae0 (diff) | |
download | linux-55eeab2a8a11b71586ef0ad3adf532ca5f97d4be.tar.xz |
objtool: Ignore exc_double_fault() __noreturn warnings
This is a hack, but it works for now.
Problem is, exc_double_fault() may or may not return, depending on
whether CONFIG_X86_ESPFIX64 is set. But objtool has no visibility to
the kernel config.
"Fix" it by silencing the exc_double_fault() __noreturn warning.
This removes the following warning:
vmlinux.o: warning: objtool: xenpv_exc_double_fault+0xd: exc_double_fault() is missing a __noreturn annotation
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Link: https://lore.kernel.org/r/a45b085071d3a7d049a20f9e78754452336ecbe8.1681853186.git.jpoimboe@kernel.org
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions