mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
um: Fix kcov crash during startup
Kcov fails to start when compiled with kcov. Disable KCOV on arch/uml/kernel/skas. $ gdb -q -ex r ./vmlinux Program received signal SIGSEGV, Segmentation fault. check_kcov_mode (t=<>, needed_mode=<>) at kernel/kcov.c:70 70 mode = READ_ONCE(t->kcov_mode); Signed-off-by: Marek Majkowski <marek@cloudflare.com> Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
parent
80b81cdc66
commit
c4683cd5fb
@ -12,4 +12,6 @@ obj-y := clone.o mmu.o process.o syscall.o uaccess.o
|
||||
CFLAGS_clone.o := $(CFLAGS_NO_HARDENING)
|
||||
UNPROFILE_OBJS := clone.o
|
||||
|
||||
KCOV_INSTRUMENT := n
|
||||
|
||||
include arch/um/scripts/Makefile.rules
|
||||
|
Loading…
Reference in New Issue
Block a user