patch-2.3.11 linux/kernel/info.c
Next file: linux/kernel/ksyms.c
Previous file: linux/kernel/fork.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Jul 11 09:11:46 1999
- Orig file:
v2.3.10/linux/kernel/info.c
- Orig date:
Fri Nov 20 11:43:19 1998
diff -u --recursive --new-file v2.3.10/linux/kernel/info.c linux/kernel/info.c
@@ -26,7 +26,7 @@
val.loads[1] = avenrun[1] << (SI_LOAD_SHIFT - FSHIFT);
val.loads[2] = avenrun[2] << (SI_LOAD_SHIFT - FSHIFT);
- val.procs = nr_tasks-1;
+ val.procs = nr_threads-1;
sti();
si_meminfo(&val);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)