summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-08-18 10:29:54 +0200
committerIngo Molnar <mingo@kernel.org>2017-08-18 10:29:54 +0200
commit0c2364791343e4b04cd1f097ff2abc2799062448 (patch)
treebeb9d94252d42d35b2066bf23383576b0beeebeb /scripts
parentlocking/lockdep: Make CONFIG_LOCKDEP_CROSSRELEASE and CONFIG_LOCKDEP_COMPLETI... (diff)
parentx86/asm: Add ASM_UNREACHABLE (diff)
downloadlinux-0c2364791343e4b04cd1f097ff2abc2799062448.tar.xz
linux-0c2364791343e4b04cd1f097ff2abc2799062448.zip
Merge branch 'x86/asm' into locking/core
We need the ASM_UNREACHABLE() macro for a dependent patch. Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index 4a9a2cec0a1b..854608d42e85 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -262,6 +262,9 @@ objtool_args = check
ifndef CONFIG_FRAME_POINTER
objtool_args += --no-fp
endif
+ifdef CONFIG_GCOV_KERNEL
+objtool_args += --no-unreachable
+endif
# 'OBJECT_FILES_NON_STANDARD := y': skip objtool checking for a directory
# 'OBJECT_FILES_NON_STANDARD_foo.o := 'y': skip objtool checking for a file