[PATCH] uml: skas0 - separate kernel address space on stock hosts
[firefly-linux-kernel-4.4.55.git] / arch / um / scripts / Makefile.rules
index 7459d09c233e37f99b840b4454ea2d295fd5c72f..17f305b6bade9272fb3cecc63358a2032eb26a53 100644 (file)
@@ -16,6 +16,11 @@ define unprofile
 endef
 
 
+# The stubs and unmap.o can't try to call mcount or update basic block data
+define unprofile
+       $(patsubst -pg,,$(patsubst -fprofile-arcs -ftest-coverage,,$(1)))
+endef
+
 quiet_cmd_make_link = SYMLINK $@
 cmd_make_link       = ln -sf $(srctree)/arch/$(SUBARCH)/$($(notdir $@)-dir)/$(notdir $@) $@