]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
objtool: Define 'struct orc_entry' only when needed
authorJulien Thierry <jthierry@redhat.com>
Tue, 25 Aug 2020 12:47:42 +0000 (13:47 +0100)
committerJosh Poimboeuf <jpoimboe@redhat.com>
Tue, 1 Sep 2020 22:19:12 +0000 (17:19 -0500)
commit66734e32463bd1346466f92662feeaccef26e94f
tree3973ec79e05e9fdf4e5d6e149639952e35ccc104
parent3eaecac88a17f7fdf29561a197dc728f7f697c60
objtool: Define 'struct orc_entry' only when needed

Implementation of ORC requires some definitions that are currently
provided by the target architecture headers. Do not depend on these
definitions when the orc subcommand is not implemented.

This avoid requiring arches with no orc implementation to provide dummy
orc definitions.

Signed-off-by: Julien Thierry <jthierry@redhat.com>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
tools/objtool/Makefile
tools/objtool/arch.h
tools/objtool/check.h