1 --- procps-3.2.7/top.c.orig 2007-09-07 21:28:41.000000000 +0100
2 +++ procps-3.2.7/top.c 2007-09-07 21:29:15.000000000 +0100
5 // and just in case we're 2.2.xx compiled without SMP support...
8 - memcpy(cpus, &cpus[1], sizeof(CPU_t));
9 + cpus[0].id = cpus[1].id = 0;
10 + cpus[0].u = cpus[1].u;
11 + cpus[0].n = cpus[1].n;
12 + cpus[0].s = cpus[1].s;
13 + cpus[0].i = cpus[1].i;
14 + cpus[0].w = cpus[1].w;
15 + cpus[0].x = cpus[1].x;
16 + cpus[0].y = cpus[1].y;
17 + cpus[0].z = cpus[1].z;
20 // now value each separate cpu's tics