This Linux kernel change "objtool: Add rewind_stack_do_exit() to the noreturn list" is included in the Linux 4.9.189 release. This change is authored by Josh Poimboeuf <jpoimboe [at] redhat.com> on Thu Apr 4 12:17:35 2019 -0500. The commit for this change in Linux stable tree is 180019b (patch) which is from upstream commit 4fa5ecd. The same Linux upstream change may have been applied to various maintained Linux releases and you can find all Linux releases containing changes from upstream 4fa5ecd.
objtool: Add rewind_stack_do_exit() to the noreturn list commit 4fa5ecda2bf96be7464eb406df8aba9d89260227 upstream. 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 <[email protected]> Signed-off-by: Josh Poimboeuf <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lkml.kernel.org/r/3[email protected]redhat.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
There is one line of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.
tools/objtool/check.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/objtool/check.c b/tools/objtool/check.c index aabbd6f..09782ff 100644 --- a/tools/objtool/check.c +++ b/tools/objtool/check.c @@ -166,6 +166,7 @@ static int __dead_end_function(struct objtool_file *file, struct symbol *func, "lbug_with_loc", "fortify_panic", "machine_real_restart", + "rewind_stack_do_exit", }; if (func->bind == STB_WEAK)