]> granicus.if.org Git - procps-ng/commit
library: Replace smp_num_cpu with function
authorCraig Small <csmall@enc.com.au>
Mon, 29 Jun 2015 12:31:36 +0000 (22:31 +1000)
committerCraig Small <csmall@enc.com.au>
Mon, 29 Jun 2015 12:31:36 +0000 (22:31 +1000)
commitc183b1830190f54bc98bb3991b1253f94cf1ba72
treee5ddad0a7bf3592d40133e8efe7604bd19f12d5a
parent639daf546852e4cd0324c88c15eeea0d8bd1796d
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.
proc/libprocps.sym
proc/sysinfo.c
proc/sysinfo.h
top/top.c