diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-17 16:00:20 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-17 16:00:20 +0000 |
commit | 0d816ac9865eb8b4950660d42ae8c2c653412d6f (patch) | |
tree | 562161046a2063aeed4e1c62cc9b86aeb5b45fe2 /meta/packages/uclibc/uclibc-0.9.29/uClibc-0.9.29-conditional-sched_affinity.patch | |
parent | 2ce975dba2a3f433e3f0668104c9d3630eca1b16 (diff) | |
download | poky-0d816ac9865eb8b4950660d42ae8c2c653412d6f.tar.gz |
uclibc: Upgrade 0.9.29 -> 0.9.30.1 (from OE.dev) and massively cleanup the recipes, using install step for staging
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/uclibc/uclibc-0.9.29/uClibc-0.9.29-conditional-sched_affinity.patch')
-rw-r--r-- | meta/packages/uclibc/uclibc-0.9.29/uClibc-0.9.29-conditional-sched_affinity.patch | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/meta/packages/uclibc/uclibc-0.9.29/uClibc-0.9.29-conditional-sched_affinity.patch b/meta/packages/uclibc/uclibc-0.9.29/uClibc-0.9.29-conditional-sched_affinity.patch deleted file mode 100644 index 509c42af52..0000000000 --- a/meta/packages/uclibc/uclibc-0.9.29/uClibc-0.9.29-conditional-sched_affinity.patch +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | diff -ur uClibc-0.9.29/libc/sysdeps/linux/common/sched_getaffinity.c uClibc-0.9.29-patched/libc/sysdeps/linux/common/sched_getaffinity.c | ||
2 | --- uClibc-0.9.29/libc/sysdeps/linux/common/sched_getaffinity.c 2007-02-12 16:52:32.000000000 -0600 | ||
3 | +++ uClibc-0.9.29-patched/libc/sysdeps/linux/common/sched_getaffinity.c 2007-05-09 18:05:09.397411811 -0500 | ||
4 | @@ -29,6 +29,7 @@ | ||
5 | #include <sys/param.h> | ||
6 | #include <sys/types.h> | ||
7 | |||
8 | +#ifdef __NR_sched_getaffinity | ||
9 | libc_hidden_proto(memset) | ||
10 | |||
11 | #define __NR___syscall_sched_getaffinity __NR_sched_getaffinity | ||
12 | @@ -48,5 +49,15 @@ | ||
13 | } | ||
14 | return res; | ||
15 | } | ||
16 | +#else | ||
17 | +/* | ||
18 | +int sched_getaffinity(pid_t pid, size_t cpusetsize, cpu_set_t *cpuset) | ||
19 | +{ | ||
20 | + __set_errno(ENOSYS); | ||
21 | + return -1; | ||
22 | +} | ||
23 | +*/ | ||
24 | #endif | ||
25 | #endif | ||
26 | + | ||
27 | +#endif | ||
28 | diff -ur uClibc-0.9.29/libc/sysdeps/linux/common/sched_setaffinity.c uClibc-0.9.29-patched/libc/sysdeps/linux/common/sched_setaffinity.c | ||
29 | --- uClibc-0.9.29/libc/sysdeps/linux/common/sched_setaffinity.c 2007-02-12 16:52:32.000000000 -0600 | ||
30 | +++ uClibc-0.9.29-patched/libc/sysdeps/linux/common/sched_setaffinity.c 2007-05-09 18:05:09.397411811 -0500 | ||
31 | @@ -31,6 +31,7 @@ | ||
32 | #include <sys/types.h> | ||
33 | #include <alloca.h> | ||
34 | |||
35 | +#ifdef __NR_sched_setaffinity | ||
36 | libc_hidden_proto(getpid) | ||
37 | |||
38 | #define __NR___syscall_sched_setaffinity __NR_sched_setaffinity | ||
39 | @@ -74,5 +75,14 @@ | ||
40 | |||
41 | return INLINE_SYSCALL (sched_setaffinity, 3, pid, cpusetsize, cpuset); | ||
42 | } | ||
43 | +#else | ||
44 | +/* | ||
45 | +int sched_setaffinity(pid_t pid, size_t cpusetsize, const cpu_set_t *cpuset) | ||
46 | +{ | ||
47 | + __set_errno(ENOSYS); | ||
48 | + return -1; | ||
49 | +} | ||
50 | +*/ | ||
51 | +#endif | ||
52 | #endif | ||
53 | #endif | ||