]> git.ipfire.org Git - thirdparty/linux.git/commit - tools/objtool/check.c
objtool: Make handle_insn_ops() unconditional
authorPeter Zijlstra <peterz@infradead.org>
Fri, 24 Apr 2020 14:16:41 +0000 (16:16 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 30 Apr 2020 18:14:32 +0000 (20:14 +0200)
commit60041bcd8f5ab560dabf44dc384f58bbeb5a6a30
treeb9d42ff3e497dd8bc4a4d1a90a42a321aa991ec1
parent7d989fcadd6e225a61d6490dd15bdbdfc8a53d5c
objtool: Make handle_insn_ops() unconditional

Now that every instruction has a list of stack_ops; we can trivially
distinquish those instructions that do not have stack_ops, their list
is empty.

This means we can now call handle_insn_ops() unconditionally.

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.795115188@infradead.org
tools/objtool/check.c