summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc/bits
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2014-02-20 00:30:18 -0800
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-02-17 23:42:30 +0100
commit9fc6da20daeac3f06116630764c36fc4943b1f3a (patch)
tree2b614c29ed48ccb9007fa6750513a57283fc88b1 /libc/sysdeps/linux/sparc/bits
parent31b0af2da8120e2b3f176d955eeca034e434b1b7 (diff)
Add eventfd_read() and eventfd_write()
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/sparc/bits')
-rw-r--r--libc/sysdeps/linux/sparc/bits/eventfd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/sparc/bits/eventfd.h b/libc/sysdeps/linux/sparc/bits/eventfd.h
index bed9f093b..e348cc6fb 100644
--- a/libc/sysdeps/linux/sparc/bits/eventfd.h
+++ b/libc/sysdeps/linux/sparc/bits/eventfd.h
@@ -22,7 +22,7 @@
/* Flags for eventfd. */
enum
{
- EFD_SEMAPHORE = 1,
+ EFD_SEMAPHORE = 0x000001,
#define EFD_SEMAPHORE EFD_SEMAPHORE
EFD_CLOEXEC = 0x400000,
#define EFD_CLOEXEC EFD_CLOEXEC