objtool: Add HAVE_NOINSTR_VALIDATION
authorJosh Poimboeuf <jpoimboe@redhat.com>
Mon, 18 Apr 2022 16:50:42 +0000 (09:50 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 22 Apr 2022 10:32:05 +0000 (12:32 +0200)
commit489e355b42255c5536a0ea3083a66b54a5e235c3
tree66e1eb37d992b829956dd14a55be6de7c263c113
parent0f620cefd7753175b6258fed85f76c2014ec3799
objtool: Add HAVE_NOINSTR_VALIDATION

Remove CONFIG_NOINSTR_VALIDATION's dependency on HAVE_OBJTOOL, since
other arches might want to implement objtool without it.

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Link: https://lkml.kernel.org/r/488e94f69db4df154499bc098573d90e5db1c826.1650300597.git.jpoimboe@redhat.com
arch/Kconfig
arch/x86/Kconfig
lib/Kconfig.debug