summaryrefslogtreecommitdiffstats
path: root/package/busybox/busybox-1.10.1-taskset.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/busybox-1.10.1-taskset.patch')
-rw-r--r--package/busybox/busybox-1.10.1-taskset.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/package/busybox/busybox-1.10.1-taskset.patch b/package/busybox/busybox-1.10.1-taskset.patch
deleted file mode 100644
index 0860586b7..000000000
--- a/package/busybox/busybox-1.10.1-taskset.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- busybox-1.10.1/miscutils/taskset.c Sat Apr 19 06:03:13 2008
-+++ busybox-1.10.1-taskset/miscutils/taskset.c Fri Apr 25 18:58:53 2008
-@@ -94,8 +94,10 @@
- unsigned i;
- /* Do not allow zero mask: */
- unsigned long long m = xstrtoull_range(aff, 0, 1, ULLONG_MAX);
-+ enum { CNT_BIT = CPU_SETSIZE < sizeof(m)*8 ? CPU_SETSIZE : sizeof(m)*8 };
-+
- CPU_ZERO(&mask);
-- for (i = 0; i < CPU_SETSIZE; i++) {
-+ for (i = 0; i < CNT_BIT; i++) {
- unsigned long long bit = (1ULL << i);
- if (bit & m)
- CPU_SET(i, &mask);