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

Re: [PATCH v2] arch: define weak abort

2017-12-21 Thread Sudip Mukherjee
On Tue, Dec 19, 2017 at 01:55:59PM -0800, Andrew Morton wrote: > On Tue, 19 Dec 2017 13:39:22 -0800 Vineet Gupta > wrote: > > > Hmm, I realize there's a small gotcha with this, when testing with a > > different > > patch from Arnd. This needs an EXPORT_SYMBOL() as well ! > > Yup. This? Y