objtool: Change arch_decode_instruction() signature
authorPeter Zijlstra <peterz@infradead.org>
Wed, 8 Feb 2023 17:17:57 +0000 (18:17 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 23 Feb 2023 08:20:50 +0000 (09:20 +0100)
commit20a554638dd2665a88d3d68a68f7981480a27f36
tree2e9379374e4bcb3d4bc808fc907fc04facd5c3db
parent585a78c1f77be305b1f6adad392f16047fb66ffd
objtool: Change arch_decode_instruction() signature

In preparation to changing struct instruction around a bit, avoid
passing it's members by pointer and instead pass the whole thing.

A cleanup in it's own right too.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Josh Poimboeuf <jpoimboe@kernel.org>
Tested-by: Nathan Chancellor <nathan@kernel.org> # build only
Tested-by: Thomas Weißschuh <linux@weissschuh.net> # compile and run
Link: https://lore.kernel.org/r/20230208172245.291087549@infradead.org
tools/objtool/arch/powerpc/decode.c
tools/objtool/arch/x86/decode.c
tools/objtool/check.c
tools/objtool/include/objtool/arch.h