Re: [PATCH 2/2] ARC: handle gcc generated __builtin_trap for older compiler

2017-12-21 Thread Arnd Bergmann
On Wed, Dec 20, 2017 at 11:49 PM, Vineet Gupta wrote: > ARC gcc prior to GNU 2018.03 release didn't have a target specific > __builtin_trap() implementation, generating default abort() call. > > Implement the abort() call - emulating what newer gcc does for the same, > as suggested by Arnd. > > Si

[PATCH 2/2] ARC: handle gcc generated __builtin_trap for older compiler

2017-12-20 Thread Vineet Gupta
ARC gcc prior to GNU 2018.03 release didn't have a target specific __builtin_trap() implementation, generating default abort() call. Implement the abort() call - emulating what newer gcc does for the same, as suggested by Arnd. Signed-off-by: Vineet Gupta --- arch/arc/kernel/traps.c | 9 +++