kernel: backport fix undefined abort
authorEvgeniy Didin <Evgeniy.Didin@synopsys.com>
Tue, 30 Jan 2018 12:36:51 +0000 (15:36 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 10 Feb 2018 19:58:39 +0000 (20:58 +0100)
commitb38758d4d47a769268da791ec6a1ab8b138e203e
treeccc22c21c7c50a4e7fb81dcceceec796a8e6e833
parent7c5960ddc47d98b92e3b30d3e72a8df8efe7e225
kernel: backport fix undefined abort

While building mpi.ko module with stable Linux v4.14.14 an error occured:
>ERROR: "abort" [lib/mpi/mpi.ko] undefined!
In upstream Linux 4.15 this issue is fixed:
Commit 7c2c11b208be ("arch: define weak abort()")
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7c2c11b208be09c156573fc0076b7b3646e05219

Commit dc8635b78cd8 ("kernel/exit.c: export abort() to modules")
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=dc8635b78cd8669c37e230058d18c33af7451ab1

So lets add backport patches until these fixes
are not applied in stable version.

Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
CC: John Crispin <john@phrozen.org>
CC: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/generic/backport-4.14/080-v4.15-0001-arch-define-weak-abort.patch [new file with mode: 0644]
target/linux/generic/backport-4.14/081-v4.15-0002-kernel-exit.c-export-abort-to-modules.patch [new file with mode: 0644]