aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
author[email protected] <[email protected]>2018-10-15 17:22:21 +0000
committerMiguel Ojeda <[email protected]>2018-10-19 06:47:14 +0000
commitfe0640eb30b7da261ae84d252ed9ed3c7e68dfd8 (patch)
tree60b6fe584227bfc65fcc7ec15e9ab251716b1c2a /tools/perf/scripts/python/intel-pt-events.py
parentCompiler Attributes: ext4: remove local __nonstring definition (diff)
downloadkernel-fe0640eb30b7da261ae84d252ed9ed3c7e68dfd8.tar.gz
kernel-fe0640eb30b7da261ae84d252ed9ed3c7e68dfd8.zip
compiler.h: update definition of unreachable()
Fixes the objtool warning seen with Clang: arch/x86/mm/fault.o: warning: objtool: no_context()+0x220: unreachable instruction Fixes commit 815f0ddb346c ("include/linux/compiler*.h: make compiler-*.h mutually exclusive") Josh noted that the fallback definition was meant to work around a pre-gcc-4.6 bug. GCC still needs to work around https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82365, so compiler-gcc.h defines its own version of unreachable(). Clang and ICC can use this shared definition. Link: https://github.com/ClangBuiltLinux/linux/issues/204 Suggested-by: Andy Lutomirski <[email protected]> Suggested-by: Josh Poimboeuf <[email protected]> Tested-by: Nathan Chancellor <[email protected]> Signed-off-by: Nick Desaulniers <[email protected]> Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions