[PATCH] objtool: Fix 32-bit build

2018-03-06 Thread Josh Poimboeuf
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 Fixes: b5bc2231b8ad ("objtool: Add

[PATCH] objtool: Fix 32-bit build

2018-03-06 Thread Josh Poimboeuf
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 Fixes: b5bc2231b8ad ("objtool: Add retpoline