mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
2008-10-02 Pierre Habouzit <madcoder@debian.org>
* sysdeps/unix/sysv/linux/eventfd.c (eventfd): Use the eventfd2 syscall and fix its calling convention.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2008-10-02 Pierre Habouzit <madcoder@debian.org>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/eventfd.c (eventfd): Use the eventfd2 syscall
|
||||||
|
and fix its calling convention.
|
||||||
|
|
||||||
2008-10-07 Andreas Schwab <schwab@suse.de>
|
2008-10-07 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
[BZ #6942]
|
[BZ #6942]
|
||||||
|
@ -24,8 +24,8 @@
|
|||||||
int
|
int
|
||||||
eventfd (int count, int flags)
|
eventfd (int count, int flags)
|
||||||
{
|
{
|
||||||
#ifdef __NR_eventfd1
|
#ifdef __NR_eventfd2
|
||||||
return INLINE_SYSCALL (eventfd1, 1, flags);
|
return INLINE_SYSCALL (eventfd2, 2, count, flags);
|
||||||
#else
|
#else
|
||||||
/* The old system call has no flag parameter which is bad. So we have
|
/* The old system call has no flag parameter which is bad. So we have
|
||||||
to wait until we have to support to pass additional values to the
|
to wait until we have to support to pass additional values to the
|
||||||
|
Reference in New Issue
Block a user