blob: 70729a518a4add56e1287b4bcdc65f88473c89fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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.
*/
|