summaryrefslogtreecommitdiff
path: root/recipes/busybox/busybox-1.13.2/busybox-1.13.2-top24.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-04-14 16:31:48 -0700
committerKhem Raj <raj.khem@gmail.com>2009-04-14 16:31:48 -0700
commit3189734f8d6b1287c757cb9664d7e045ab3c57d7 (patch)
tree5c3d50c45086d94994eb5c750f3c3d9ae9b5c924 /recipes/busybox/busybox-1.13.2/busybox-1.13.2-top24.patch
parent9396869c27c4f4cbf093c356a8df20965ee929ad (diff)
parent06b6c395daf1cc41c95f8e2f094ea3b1e97d6d7b (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/busybox/busybox-1.13.2/busybox-1.13.2-top24.patch')
-rw-r--r--recipes/busybox/busybox-1.13.2/busybox-1.13.2-top24.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/busybox/busybox-1.13.2/busybox-1.13.2-top24.patch b/recipes/busybox/busybox-1.13.2/busybox-1.13.2-top24.patch
new file mode 100644
index 0000000000..25ee861593
--- /dev/null
+++ b/recipes/busybox/busybox-1.13.2/busybox-1.13.2-top24.patch
@@ -0,0 +1,12 @@
+diff -urpN busybox-1.13.2/procps/top.c busybox-1.13.2-top24/procps/top.c
+--- busybox-1.13.2/procps/top.c 2008-11-09 18:28:20.000000000 +0100
++++ busybox-1.13.2-top24/procps/top.c 2009-03-02 22:24:31.000000000 +0100
+@@ -200,7 +200,7 @@ static NOINLINE int read_cpu_jiffy(FILE
+ &p_jif->usr, &p_jif->nic, &p_jif->sys, &p_jif->idle,
+ &p_jif->iowait, &p_jif->irq, &p_jif->softirq,
+ &p_jif->steal);
+- if (ret > 4) {
++ if (ret >= 4) {
+ p_jif->total = p_jif->usr + p_jif->nic + p_jif->sys + p_jif->idle
+ + p_jif->iowait + p_jif->irq + p_jif->softirq + p_jif->steal;
+ /* procps 2.x does not count iowait as busy time */