diff options
author | Josh Poimboeuf <jpoimboe@redhat.com> | 2018-03-06 17:58:15 -0600 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-03-07 07:50:38 +0100 |
commit | 63474dc4ac7ed3848a4786b9592dd061901f606d (patch) | |
tree | 4facfc2ccbbe9b0f8b4580681d4c41c6d51380c8 /tools/arch | |
parent | 945fd17ab6bab8a4d05da6c3170519fbcfe62ddb (diff) | |
download | op-kernel-dev-63474dc4ac7ed3848a4786b9592dd061901f606d.zip op-kernel-dev-63474dc4ac7ed3848a4786b9592dd061901f606d.tar.gz |
objtool: Fix 32-bit build
Fix the objtool build when cross-compiling a 64-bit kernel on a 32-bit
host. This also simplifies read_retpoline_hints() a bit and makes its
implementation similar to most of the other annotation reading
functions.
Reported-by: Sven Joachim <svenjoac@gmx.de>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Fixes: b5bc2231b8ad ("objtool: Add retpoline validation")
Link: http://lkml.kernel.org/r/2ca46c636c23aa9c9d57d53c75de4ee3ddf7a7df.1520380691.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/arch')
0 files changed, 0 insertions, 0 deletions