[pulseaudio-commits] r2020 - /trunk/src/pulsecore/fdsem.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Sun Nov 4 06:17:48 PST 2007


Author: lennart
Date: Sun Nov  4 15:17:48 2007
New Revision: 2020

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2020&root=pulseaudio&view=rev
Log:
add eventfd syscall nr for arm; patch from Sjoerd Simons; Closes #150

Modified:
    trunk/src/pulsecore/fdsem.c

Modified: trunk/src/pulsecore/fdsem.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulsecore/fdsem.c?rev=2020&root=pulseaudio&r1=2019&r2=2020&view=diff
==============================================================================
--- trunk/src/pulsecore/fdsem.c (original)
+++ trunk/src/pulsecore/fdsem.c Sun Nov  4 15:17:48 2007
@@ -53,6 +53,10 @@
 #define __NR_eventfd 284
 #endif
 
+#if !defined(__NR_eventfd) && defined(__arm__)
+#define __NR_eventfd (__NR_SYSCALL_BASE+351)
+#endif
+
 #if !defined(SYS_eventfd) && defined(__NR_eventfd)
 #define SYS_eventfd __NR_eventfd
 #endif




More information about the pulseaudio-commits mailing list