diff options
author | Julien Thierry <jthierry@redhat.com> | 2020-08-25 13:47:40 +0100 |
---|---|---|
committer | Josh Poimboeuf <jpoimboe@redhat.com> | 2020-09-01 17:19:11 -0500 |
commit | d44becb9decf4438d1e555b1428634964d2e5764 (patch) | |
tree | 51216eb474b58554435a0790ac60305a3ce7d85a /tools/objtool/objtool.h | |
parent | 6545eb030e6f14cef8793a86312483c788eaee46 (diff) | |
download | lwn-d44becb9decf4438d1e555b1428634964d2e5764.tar.gz lwn-d44becb9decf4438d1e555b1428634964d2e5764.zip |
objtool: Move ORC logic out of check()
Now that the objtool_file can be obtained outside of the check function,
orc generation builtin no longer requires check to explicitly call its
orc related functions.
Signed-off-by: Julien Thierry <jthierry@redhat.com>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Diffstat (limited to 'tools/objtool/objtool.h')
-rw-r--r-- | tools/objtool/objtool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/objtool/objtool.h b/tools/objtool/objtool.h index 7efc43f22174..a635f68a9b09 100644 --- a/tools/objtool/objtool.h +++ b/tools/objtool/objtool.h @@ -22,7 +22,7 @@ struct objtool_file { struct objtool_file *objtool_open_read(const char *_objname); -int check(struct objtool_file *file, bool orc); +int check(struct objtool_file *file); int orc_dump(const char *objname); int create_orc(struct objtool_file *file); int create_orc_sections(struct objtool_file *file); |