[PATCH v2] arch: define weak abort

Sudip Mukherjee sudipm.mukherjee at gmail.com
Thu Dec 21 15:20:36 PST 2017


On Tue, Dec 19, 2017 at 01:55:59PM -0800, Andrew Morton wrote:
> On Tue, 19 Dec 2017 13:39:22 -0800 Vineet Gupta <Vineet.Gupta1 at synopsys.com> wrote:
> 

<snip>

> > 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?

Yes, just faced this when I was testing with the reverted patch on m32r.

> 
> From: Andrew Morton <akpm at linux-foundation.org>
> Subject: kernel/exit.c: export abort() to modules
> 
> gcc -fisolate-erroneous-paths-dereference can generate calls to abort()
> from modular code too.
> 
> Reported-by: Vineet Gupta <Vineet.Gupta1 at synopsys.com>
> Cc: Sudip Mukherjee <sudipm.mukherjee at gmail.com>
> Cc: Arnd Bergmann <arnd at arndb.de>
> Cc: "Alexey Brodkin" <Alexey.Brodkin at synopsys.com>
> Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
> ---

Acked-by: Sudip Mukherjee <sudipm.mukherjee at gmail.com>

--
Regards
Sudip



More information about the linux-snps-arc mailing list