diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-10-19 18:25:25 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-10-19 18:25:25 +0000 |
commit | 161792d02c09a4b5a77ecb27e755377394cfb72c (patch) | |
tree | 0015d66bc8667f072bb0637a8ed553f95c0f7fb2 /toolchain/uClibc/patches-0.9.29/002-conditional_sched_affinity.patch | |
parent | 4f1f99a63daf57e3106a675b554630e4cc396982 (diff) | |
download | upstream-161792d02c09a4b5a77ecb27e755377394cfb72c.tar.gz upstream-161792d02c09a4b5a77ecb27e755377394cfb72c.tar.bz2 upstream-161792d02c09a4b5a77ecb27e755377394cfb72c.zip |
remove support for uclibc 0.9.29
SVN-Revision: 18078
Diffstat (limited to 'toolchain/uClibc/patches-0.9.29/002-conditional_sched_affinity.patch')
-rw-r--r-- | toolchain/uClibc/patches-0.9.29/002-conditional_sched_affinity.patch | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/toolchain/uClibc/patches-0.9.29/002-conditional_sched_affinity.patch b/toolchain/uClibc/patches-0.9.29/002-conditional_sched_affinity.patch deleted file mode 100644 index dfd5bc9d1f..0000000000 --- a/toolchain/uClibc/patches-0.9.29/002-conditional_sched_affinity.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- a/libc/sysdeps/linux/common/sched_getaffinity.c -+++ b/libc/sysdeps/linux/common/sched_getaffinity.c -@@ -29,6 +29,7 @@ - #include <sys/param.h> - #include <sys/types.h> - -+#ifdef __NR_sched_getaffinity - libc_hidden_proto(memset) - - #define __NR___syscall_sched_getaffinity __NR_sched_getaffinity -@@ -48,5 +49,15 @@ int sched_getaffinity(pid_t pid, size_t - } - return res; - } -+#else -+/* -+int sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *cpuset) -+{ -+ __set_errno(ENOSYS); -+ return -1; -+} -+*/ - #endif - #endif -+ -+#endif ---- a/libc/sysdeps/linux/common/sched_setaffinity.c -+++ b/libc/sysdeps/linux/common/sched_setaffinity.c -@@ -31,6 +31,7 @@ - #include <sys/types.h> - #include <alloca.h> - -+#ifdef __NR_sched_setaffinity - libc_hidden_proto(getpid) - - #define __NR___syscall_sched_setaffinity __NR_sched_setaffinity -@@ -74,5 +75,14 @@ int sched_setaffinity(pid_t pid, size_t - - return INLINE_SYSCALL (sched_setaffinity, 3, pid, cpusetsize, cpuset); - } -+#else -+/* -+int sched_setaffinity(pid_t pid, size_t cpusetsize, const cpu_set_t *cpuset) -+{ -+ __set_errno(ENOSYS); -+ return -1; -+} -+*/ -+#endif - #endif - #endif |