Commit-ID: 79d26a6a19ace19faabf8d8d27d3430be2e26d34 Gitweb: http://git.kernel.org/tip/79d26a6a19ace19faabf8d8d27d3430be2e26d34 Author: Ben Hutchings <b...@decadent.org.uk> AuthorDate: Thu, 6 Feb 2014 01:00:35 +0000 Committer: Arnaldo Carvalho de Melo <a...@redhat.com> CommitDate: Mon, 10 Feb 2014 11:34:31 -0300
perf trace: Add fallback definition of EFD_SEMAPHORE glibc 2.17 is missing this on sparc, despite the fact that it's not architecture-specific. Signed-off-by: Ben Hutchings <b...@decadent.org.uk> Fixes: 49af9e93adfa ('perf trace: Beautify eventfd2 'flags' arg') Cc: <sta...@vger.kernel.org> Cc: Ingo Molnar <mi...@redhat.com> Cc: Paul Mackerras <pau...@samba.org> Cc: Peter Zijlstra <a.p.zijls...@chello.nl> Cc: sta...@vger.kernel.org Link: http://lkml.kernel.org/r/1391648435.3003.100.ca...@deadeye.wl.decadent.org.uk Signed-off-by: Arnaldo Carvalho de Melo <a...@redhat.com> --- tools/perf/builtin-trace.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index 896f270..619d11c 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c @@ -37,6 +37,10 @@ # define MADV_UNMERGEABLE 13 #endif +#ifndef EFD_SEMAPHORE +# define EFD_SEMAPHORE 1 +#endif + struct tp_field { int offset; union { -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/