X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=arch%2Fum%2Fkernel%2FMakefile;h=2f36d515762ecbcaf9507f00b08fa6b955b919f9;hb=915eed20e40f4dcb142cb29a3de6f6ba67f4bb5a;hp=a6a5e42caaef539cb24da8e046bdc998ecbdf976;hpb=1d82b0baf9abd59ae6f53f3102f4e442043763a4;p=deliverable%2Flinux.git diff --git a/arch/um/kernel/Makefile b/arch/um/kernel/Makefile index a6a5e42caaef..2f36d515762e 100644 --- a/arch/um/kernel/Makefile +++ b/arch/um/kernel/Makefile @@ -3,6 +3,11 @@ # Licensed under the GPL # +# Don't instrument UML-specific code; without this, we may crash when +# accessing the instrumentation buffer for the first time from the +# kernel. +KCOV_INSTRUMENT := n + CPPFLAGS_vmlinux.lds := -DSTART=$(LDS_START) \ -DELF_ARCH=$(LDS_ELF_ARCH) \ -DELF_FORMAT=$(LDS_ELF_FORMAT) \