objtool: Remove INSN_STACK
With the unconditional use of handle_insn_ops(), INSN_STACK has lost its purpose. Remove it. Suggested-by: Julien Thierry <jthierry@redhat.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Miroslav Benes <mbenes@suse.cz> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Link: https://lkml.kernel.org/r/20200428191659.854203028@infradead.org
This commit is contained in:
@@ -2339,9 +2339,6 @@ static int validate_branch(struct objtool_file *file, struct symbol *func,
|
||||
}
|
||||
return 0;
|
||||
|
||||
case INSN_STACK:
|
||||
break;
|
||||
|
||||
case INSN_STAC:
|
||||
if (state.uaccess) {
|
||||
WARN_FUNC("recursive UACCESS enable", sec, insn->offset);
|
||||
|
Reference in New Issue
Block a user