• Eric W. Biederman's avatar
    exit: Remove calls of do_exit after noreturn versions of die · 9fd5a04d
    Eric W. Biederman authored
    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: 3f65ce4d ("[PATCH] xtensa: Architecture support for Tensilica Xtensa Part 5")
    Fixes: 664eec40 ("nds32: MMU fault handling and page table management")
    Fixes: 61e85e36 ("OpenRISC: Memory management")
    Link: https://lkml.kernel.org/r/20211020174406.17889-2-ebiederm@xmission.comSigned-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
    9fd5a04d
fault.c 8.79 KB