library: Replace smp_num_cpu with function

Instead of exposing a variable smp_num_cpus that is updated
with cpuinfo, use procps_cpu_count() which returns the same
value.
This commit is contained in:
Craig Small
2015-06-29 22:31:36 +10:00
parent 639daf5468
commit c183b18301
4 changed files with 20 additions and 21 deletions

View File

@@ -47,9 +47,9 @@ global:
readproctab3;
readproctab;
readtask;
smp_num_cpus;
tty_to_dev;
user_from_uid;
procps_cpu_count;
procps_hertz_get;
procps_linux_version;
procps_meminfo_new;