• Kefeng Wang's avatar
    trap: cleanup trap_init() · 8b097881
    Kefeng Wang authored
    There are some empty trap_init() definitions in different ARCHs, Introduce
    a new weak trap_init() function to clean them up.
    
    Link: https://lkml.kernel.org/r/20210812123602.76356-1-wangkefeng.wang@huawei.comSigned-off-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
    Acked-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>	[arm32]
    Acked-by: Vineet Gupta						[arc]
    Acked-by: Michael Ellerman <mpe@ellerman.id.au>			[powerpc]
    Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
    Cc: Ley Foon Tan <ley.foon.tan@intel.com>
    Cc: Jonas Bonn <jonas@southpole.se>
    Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
    Cc: Stafford Horne <shorne@gmail.com>
    Cc: James E.J. Bottomley <James.Bottomley@HansenPartnership.com>
    Cc: Helge Deller <deller@gmx.de>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Paul Walmsley <palmerdabbelt@google.com>
    Cc: Jeff Dike <jdike@addtoit.com>
    Cc: Richard Weinberger <richard@nod.at>
    Cc: Anton Ivanov <anton.ivanov@cambridgegreys.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    8b097881
traps.c 20 KB