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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user