]> git.baikalelectronics.ru Git - kernel.git/commit
exit: Remove calls of do_exit after noreturn versions of die
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 20 Oct 2021 17:43:48 +0000 (12:43 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 20 Oct 2021 18:09:47 +0000 (13:09 -0500)
commitc797bfb7f9d2b31e450caad896df410bac397048
treea6e7a564761a942a59f794a3cf6d8f8320f67358
parent4abed2083855094ac98b57ef01b99172052437e7
exit: Remove calls of do_exit after noreturn versions of die

On nds32, openrisc, s390, sh, and xtensa the function die never
returns.  Mark die __noreturn so that no one expects die to return.
Remove the do_exit calls after die as they will never be reached.

Cc: Jonas Bonn <jonas@southpole.se>
Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Cc: Stafford Horne <shorne@gmail.com>
Cc: openrisc@lists.librecores.org
Cc: Nick Hu <nickhu@andestech.com>
Cc: Greentime Hu <green.hu@gmail.com>
Cc: Vincent Chen <deanbo422@gmail.com>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: linux-s390@vger.kernel.org
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Cc: linux-sh@vger.kernel.org
Cc: linux-xtensa@linux-xtensa.org
Cc: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Fixes: 2.3.16
Fixes: 2.3.99-pre8
Fixes: e59d178c825e ("[PATCH] xtensa: Architecture support for Tensilica Xtensa Part 5")
Fixes: f19806de6bcf ("nds32: MMU fault handling and page table management")
Fixes: c55fb02b937f ("OpenRISC: Memory management")
Link: https://lkml.kernel.org/r/20211020174406.17889-2-ebiederm@xmission.com
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
arch/nds32/kernel/traps.c
arch/nds32/mm/fault.c
arch/openrisc/kernel/traps.c
arch/openrisc/mm/fault.c
arch/s390/include/asm/kdebug.h
arch/s390/kernel/dumpstack.c
arch/s390/mm/fault.c
arch/sh/kernel/traps.c
arch/sh/mm/fault.c
arch/xtensa/kernel/traps.c
arch/xtensa/mm/fault.c