diff options
| author | Akemi Yagi <[email protected]> | 2017-09-22 22:11:53 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-09-25 15:21:05 +0000 |
| commit | 090657c9fb7094e4c1b05c1713d6c2a12ef43dea (patch) | |
| tree | d96074367371c706c87a6c00283b086ebca3e2f7 /tools/perf/util/c++/clang.cpp | |
| parent | perf report: Fix debug messages with --call-graph option (diff) | |
| download | kernel-090657c9fb7094e4c1b05c1713d6c2a12ef43dea.tar.gz kernel-090657c9fb7094e4c1b05c1713d6c2a12ef43dea.zip | |
perf tools: Fix syscalltbl build failure
The build of kernel v4.14-rc1 for i686 fails on RHEL 6 with the error
in tools/perf:
util/syscalltbl.c:157: error: expected ';', ',' or ')' before '__maybe_unused'
mv: cannot stat `util/.syscalltbl.o.tmp': No such file or directory
Fix it by placing/moving:
#include <linux/compiler.h>
outside of #ifdef HAVE_SYSCALL_TABLE block.
Signed-off-by: Akemi Yagi <[email protected]>
Cc: Alan Bartlett <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions
