diff options
| author | Josh Poimboeuf <[email protected]> | 2017-07-25 09:44:51 -0500 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2017-07-25 16:54:07 +0200 |
| commit | 1ee6f00d1164955b7bdadd36fc0f2736754784d9 (patch) | |
| tree | db21ec0742819644bdd017ad0ab7821bf928abd7 /tools/perf/scripts/python/sctop.py | |
| parent | aa5d1b81500e6059190f18fe25a7617682321910 (diff) | |
x86/asm: Make objtool unreachable macros independent from GCC version
The ASM_UNREACHABLE macro isn't GCC version-specific, so move it outside
the GCC 4.5+ check. Otherwise the 0-day robot will report objtool
warnings for uses of ASM_UNREACHABLE with GCC 4.4.
Also move the annotate_unreachable() macro so the related macros can
stay together.
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Josh Poimboeuf <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Fixes: aa5d1b81500e ("x86/asm: Add ASM_UNREACHABLE")
Link: http://lkml.kernel.org/r/fb18337dbf230fd36450d9faf19a2b2533dbcba1.1500993873.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions