summaryrefslogtreecommitdiffstats
path: root/tools/objtool/check.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2019-02-27 14:04:13 +0100
committerIngo Molnar <mingo@kernel.org>2019-04-03 11:02:24 +0200
commitaaf5c623b915d64beba676b8c2e9708d1fda94d6 (patch)
tree45974eda20be62548f742a0961f4fbc6d4c29af8 /tools/objtool/check.h
parent09f30d83d33029faf6377a86f5ae80a658af9254 (diff)
downloadlinux-aaf5c623b915d64beba676b8c2e9708d1fda94d6.tar.bz2
objtool: Rewrite add_ignores()
The whole add_ignores() thing was wildly weird; rewrite it according to 'modern' ways. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/objtool/check.h')
-rw-r--r--tools/objtool/check.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/objtool/check.h b/tools/objtool/check.h
index e6e8a655b556..d8896eb43521 100644
--- a/tools/objtool/check.h
+++ b/tools/objtool/check.h
@@ -60,7 +60,6 @@ struct objtool_file {
struct elf *elf;
struct list_head insn_list;
DECLARE_HASHTABLE(insn_hash, 16);
- struct section *whitelist;
bool ignore_unreachables, c_file, hints, rodata;
};