Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79d26a6a authored by Ben Hutchings's avatar Ben Hutchings Committed by Arnaldo Carvalho de Melo
Browse files

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: default avatarBen Hutchings <ben@decadent.org.uk>
Fixes: 49af9e93 ('perf trace: Beautify eventfd2 'flags' arg')
Cc: <stable@vger.kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: stable@vger.kernel.org
Link: http://lkml.kernel.org/r/1391648435.3003.100.camel@deadeye.wl.decadent.org.uk


Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 88fee52e
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -37,6 +37,10 @@
# define MADV_UNMERGEABLE	13
# define MADV_UNMERGEABLE	13
#endif
#endif


#ifndef EFD_SEMAPHORE
# define EFD_SEMAPHORE		1
#endif

struct tp_field {
struct tp_field {
	int offset;
	int offset;
	union {
	union {