ARC: export "abort" for modules
authorVineet Gupta <Vineet.Gupta1@synopsys.com>
Thu, 19 Sep 2019 20:58:47 +0000 (13:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Sep 2019 05:14:23 +0000 (07:14 +0200)
This is a custom patch (no mainline equivalent) for stable backport only
to address 0-Day kernel test infra ARC 4.x.y builds errors.

The reason for this custom patch as that it is a single patch, touches
only ARC, vs. atleast two 7c2c11b208be09c1dc8635b78cd8669 which touch
atleast 3 other arches (one long removed) and could potentially have a
fallout.

Reported-by: kbuild test robot <lkp@intel.com>
CC: stable@vger.kernel.org # 4.4, 4.9
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arc/kernel/traps.c

index 2fb0cd39a31c81e2b4b01471a548dbefd8793662..cd6e3615e3d1d0c45c8f88b299e8e81a56fe9f46 100644 (file)
@@ -163,3 +163,4 @@ void abort(void)
 {
        __asm__ __volatile__("trap_s  5\n");
 }
+EXPORT_SYMBOL(abort);