summaryrefslogtreecommitdiff
path: root/data/top/stability.diff
diff options
context:
space:
mode:
Diffstat (limited to 'data/top/stability.diff')
-rw-r--r--data/top/stability.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/data/top/stability.diff b/data/top/stability.diff
new file mode 100644
index 000000000..70729a518
--- /dev/null
+++ b/data/top/stability.diff
@@ -0,0 +1,13 @@
+diff -ru top-39/libtop.c top-39+iPhone/libtop.c
+--- top-39/libtop.c 2008-02-04 21:55:01.000000000 +0000
++++ top-39+iPhone/libtop.c 2009-05-13 09:13:40.000000000 +0000
+@@ -1647,6 +1647,9 @@
+ pinfo->psamp.vsize = ti.virtual_size;
+ }
+
++ if (pinfo->psamp.rprvt > 0xc0000000)
++ pinfo->psamp.rprvt = pinfo->psamp.p_rprvt;
++
+ /*
+ * Get CPU usage statistics.
+ */