From 19150d393d3a3d287cd5111cba19c8daba3dead6 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 29 Mar 2015 02:16:13 +0000 Subject: toolchain/uClibc: backport madvise and fallocate (fixes #19336) Signed-off-by: Felix Fietkau SVN-Revision: 45100 --- .../999-eventfd_use_bits_scheme.patch | 23 +--------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'toolchain/uClibc/patches-0.9.33.2/999-eventfd_use_bits_scheme.patch') diff --git a/toolchain/uClibc/patches-0.9.33.2/999-eventfd_use_bits_scheme.patch b/toolchain/uClibc/patches-0.9.33.2/999-eventfd_use_bits_scheme.patch index f57b8af5af..0551290710 100644 --- a/toolchain/uClibc/patches-0.9.33.2/999-eventfd_use_bits_scheme.patch +++ b/toolchain/uClibc/patches-0.9.33.2/999-eventfd_use_bits_scheme.patch @@ -16,11 +16,9 @@ enabled. Signed-off-by: Hiroaki KAWAI Signed-off-by: Bernhard Reutner-Fischer --- -diff --git a/Makefile.in b/Makefile.in -index 3d3ba3d..da865db 100644 --- a/Makefile.in +++ b/Makefile.in -@@ -272,6 +272,7 @@ HEADERS_RM-$(UCLIBC_HAS_XATTR) += sys/xattr.h +@@ -272,6 +272,7 @@ HEADERS_RM-$(UCLIBC_HAS_XATTR) HEADERS_RM-$(UCLIBC_HAS_XLOCALE) += xlocale.h HEADERS_RM-$(UCLIBC_LINUX_SPECIFIC) += sys/eventfd.h sys/fsuid.h \ bits/inotify.h \ @@ -28,9 +26,6 @@ index 3d3ba3d..da865db 100644 sys/inotify.h \ sys/kdaemon.h \ sys/perm.h \ -diff --git a/libc/sysdeps/linux/alpha/bits/eventfd.h b/libc/sysdeps/linux/alpha/bits/eventfd.h -new file mode 100644 -index 0000000..b5a7e41 --- /dev/null +++ b/libc/sysdeps/linux/alpha/bits/eventfd.h @@ -0,0 +1,31 @@ @@ -65,9 +60,6 @@ index 0000000..b5a7e41 + EFD_NONBLOCK = 000000004 +#define EFD_NONBLOCK EFD_NONBLOCK + }; -diff --git a/libc/sysdeps/linux/common/bits/eventfd.h b/libc/sysdeps/linux/common/bits/eventfd.h -new file mode 100644 -index 0000000..ef49c61 --- /dev/null +++ b/libc/sysdeps/linux/common/bits/eventfd.h @@ -0,0 +1,31 @@ @@ -102,8 +94,6 @@ index 0000000..ef49c61 + EFD_NONBLOCK = 00004000 +#define EFD_NONBLOCK EFD_NONBLOCK + }; -diff --git a/libc/sysdeps/linux/common/sys/eventfd.h b/libc/sysdeps/linux/common/sys/eventfd.h -index c46c2a5..1bf785f 100644 --- a/libc/sysdeps/linux/common/sys/eventfd.h +++ b/libc/sysdeps/linux/common/sys/eventfd.h @@ -1,4 +1,4 @@ @@ -153,9 +143,6 @@ index c46c2a5..1bf785f 100644 __END_DECLS #endif /* sys/eventfd.h */ -diff --git a/libc/sysdeps/linux/hppa/bits/eventfd.h b/libc/sysdeps/linux/hppa/bits/eventfd.h -new file mode 100644 -index 0000000..6182c07 --- /dev/null +++ b/libc/sysdeps/linux/hppa/bits/eventfd.h @@ -0,0 +1,32 @@ @@ -191,9 +178,6 @@ index 0000000..6182c07 + EFD_NONBLOCK = 00200004 /* HPUX has separate NDELAY & NONBLOCK */ +#define EFD_NONBLOCK EFD_NONBLOCK + }; -diff --git a/libc/sysdeps/linux/mips/bits/eventfd.h b/libc/sysdeps/linux/mips/bits/eventfd.h -new file mode 100644 -index 0000000..17b2f46 --- /dev/null +++ b/libc/sysdeps/linux/mips/bits/eventfd.h @@ -0,0 +1,31 @@ @@ -228,9 +212,6 @@ index 0000000..17b2f46 + EFD_NONBLOCK = 00000200 +#define EFD_NONBLOCK EFD_NONBLOCK + }; -diff --git a/libc/sysdeps/linux/sparc/bits/eventfd.h b/libc/sysdeps/linux/sparc/bits/eventfd.h -new file mode 100644 -index 0000000..bed9f09 --- /dev/null +++ b/libc/sysdeps/linux/sparc/bits/eventfd.h @@ -0,0 +1,31 @@ @@ -265,5 +246,3 @@ index 0000000..bed9f09 + EFD_NONBLOCK = 0x004000 +#define EFD_NONBLOCK EFD_NONBLOCK + }; --- -cgit v0.9.1 -- cgit v1.2.3