summaryrefslogtreecommitdiffstats
path: root/tools/build
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-05-04 19:43:39 +0200
committerIngo Molnar <mingo@kernel.org>2017-05-04 19:43:39 +0200
commitcefec668868be847ac3733c927ccd527c305b529 (patch)
tree2e3b07fa02a1affb3d2e06164010f6280f2e8722 /tools/build
parent12c1c2fd780a9a5581105fcb6f251466cf35af2a (diff)
parent1e6e7eae8a3a66f5fee4f44ef165ffcf31f0c40e (diff)
downloadtalos-obmc-linux-cefec668868be847ac3733c927ccd527c305b529.tar.gz
talos-obmc-linux-cefec668868be847ac3733c927ccd527c305b529.zip
Merge tag 'perf-urgent-for-mingo-4.12-20170504' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent
Pull perf/urgent fixes from Arnaldo Carvalho de Melo: User visible changes: - Fix AArch64 objdump disasm comment char in 'perf annotate' (Kim Phillips) - Fix documentation spelling mistakes (Kim Phillips) - Don't fail 'perf test kmod-path' if compressed modules aren't supported (Kim Phillips) Infrastructure changes: - Fix sched_getcpu() feature test when included in test-all.c redefining _GNU_SOURCE (Arnaldo Carvalho de Melo) Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/build')
-rw-r--r--tools/build/feature/test-sched_getcpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/build/feature/test-sched_getcpu.c b/tools/build/feature/test-sched_getcpu.c
index c4a148dd7104..9c6b4cbffb1c 100644
--- a/tools/build/feature/test-sched_getcpu.c
+++ b/tools/build/feature/test-sched_getcpu.c
@@ -1,4 +1,6 @@
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE
+#endif
#include <sched.h>
int main(void)
OpenPOWER on IntegriCloud