]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
s390/purgatory: do not build purgatory with kcov, kasan and friends
authorChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 18 Dec 2019 08:34:57 +0000 (09:34 +0100)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 06:00:53 +0000 (01:00 -0500)
commit7d53cf1f2306ba59691355d9fbdc2698b8b7f0cf
tree7e63a1cc1857cf8dc692c4c5ff72f82b8dac1f8b
parentc94aa169178fc00c28ca43185ca6e65aa7fafcf2
s390/purgatory: do not build purgatory with kcov, kasan and friends

BugLink: https://bugs.launchpad.net/bugs/1861929
[ Upstream commit c23587c92f6e3260fe3b82bb75b38aa2553b9468 ]

the purgatory must not rely on functions from the "old" kernel,
so we must disable kasan and friends. We also need to have a
separate copy of string.c as the default does not build memcmp
with KASAN.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/s390/purgatory/Makefile
arch/s390/purgatory/string.c [new file with mode: 0644]