summaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-09-05 15:52:02 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-09-12 17:33:39 +0200
commit259d40775ee11dbeba022514815df08c57994ef3 (patch)
tree38904ce4fc07115ae7a75044f2dabe99f8d95eca /tools/perf
parentMerge tag 'perf-core-for-mingo-4.14-20170901' of git://git.kernel.org/pub/scm... (diff)
downloadlinux-259d40775ee11dbeba022514815df08c57994ef3.tar.xz
linux-259d40775ee11dbeba022514815df08c57994ef3.zip
tools include linux: Guard against redefinition of some macros
When cross building to android r15c (and older versions) on Fedora 26 we notice these: /opt/android-ndk-r15c/platforms/android-24/arch-arm/usr/include/sys/cdefs.h:332:0: note: this is the location of the previous definition For __aligned, __packed and __noreturn, so guard those with ifdefs to avoid drowning useful warnings in these. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-d7w3fa9c22dtmrwbedos6ie1@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions