mirror of
https://github.com/ukui/kernel.git
synced 2026-03-09 10:07:04 -07:00
objtool: Rename "VMLINUX_VALIDATION" -> "NOINSTR_VALIDATION"
CONFIG_VMLINUX_VALIDATION is just the validation of the "noinstr" rules. That name is a misnomer, because now objtool actually does vmlinux validation for other reasons. Rename CONFIG_VMLINUX_VALIDATION to CONFIG_NOINSTR_VALIDATION. 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/173f07e2d6d1afc0874aed975a61783207c6a531.1650300597.git.jpoimboe@redhat.com
This commit is contained in:
committed by
Peter Zijlstra
parent
22102f4559
commit
0f620cefd7
@@ -160,7 +160,7 @@ objtool_link()
|
||||
objtoolopt="${objtoolopt} --lto"
|
||||
fi
|
||||
|
||||
if is_enabled CONFIG_VMLINUX_VALIDATION; then
|
||||
if is_enabled CONFIG_NOINSTR_VALIDATION; then
|
||||
objtoolopt="${objtoolopt} --noinstr"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user