mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 23:25:07 +00:00
objtool: Add rewind_stack_do_exit() to the noreturn list
[ Upstream commit 4fa5ecda2b
]
This fixes the following warning seen on GCC 7.3:
arch/x86/kernel/dumpstack.o: warning: objtool: oops_end() falls through to next function show_regs()
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lkml.kernel.org/r/3418ebf5a5a9f6ed7e80954c741c0b904b67b5dc.1554398240.git.jpoimboe@redhat.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
e66e727109
commit
cf6cb79d57
1 changed files with 1 additions and 0 deletions
|
@ -165,6 +165,7 @@ static int __dead_end_function(struct objtool_file *file, struct symbol *func,
|
|||
"fortify_panic",
|
||||
"usercopy_abort",
|
||||
"machine_real_restart",
|
||||
"rewind_stack_do_exit",
|
||||
};
|
||||
|
||||
if (func->bind == STB_WEAK)
|
||||
|
|
Loading…
Reference in a new issue