On 8/12/21 5:36 AM, Kefeng Wang wrote:
There are some empty trap_init() in different ARCHs, introduce a new weak trap_init() function to cleanup them. Cc: Vineet Gupta<vgupta@xxxxxxxxxx> Cc: Russell King<linux@xxxxxxxxxxxxxxx> Cc: Yoshinori Sato<ysato@xxxxxxxxxxxxxxxxxxxx> Cc: Ley Foon Tan<ley.foon.tan@xxxxxxxxx> Cc: Jonas Bonn<jonas@xxxxxxxxxxxx> Cc: Stefan Kristiansson<stefan.kristiansson@xxxxxxxxxxxxx> Cc: Stafford Horne<shorne@xxxxxxxxx> Cc: James E.J. Bottomley<James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> Cc: Helge Deller<deller@xxxxxx> Cc: Michael Ellerman<mpe@xxxxxxxxxxxxxx> Cc: Benjamin Herrenschmidt<benh@xxxxxxxxxxxxxxxxxxx> Cc: Paul Mackerras<paulus@xxxxxxxxx> Cc: Paul Walmsley<palmerdabbelt@xxxxxxxxxx> Cc: Jeff Dike<jdike@xxxxxxxxxxx> Cc: Richard Weinberger<richard@xxxxxx> Cc: Anton Ivanov<anton.ivanov@xxxxxxxxxxxxxxxxxx> Cc: Andrew Morton<akpm@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Kefeng Wang<wangkefeng.wang@xxxxxxxxxx> --- arch/arc/kernel/traps.c | 5 -----
Acked-by: Vineet Gupta <vgupt@xxxxxxxxxx> #arch/arc