linux: Remove /proc/cpuinfo fallback on alpha and sparc
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 25 Mar 2021 17:04:37 +0000 (14:04 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 7 May 2021 16:54:11 +0000 (13:54 -0300)
commitf13fb81ad3159543741e9132685335002a6d5df2
treed21b8b62c2ecd804d6143c82713504428dac9494
parent903bc7dcc2acafc40be11639767e10a2de712649
linux: Remove /proc/cpuinfo fallback on alpha and sparc

There is no much gain in fallback to cpuinfo if sysfs is no present,
usually on restricted environment neither will be present.  It also
simplifies the code and make all architecture use the sched_getaffinity
as the sysfs fallback.

Checked on sparc64-linux-gnu.
sysdeps/unix/sysv/linux/alpha/getsysstats.c [deleted file]
sysdeps/unix/sysv/linux/getsysstats.c
sysdeps/unix/sysv/linux/sparc/getsysstats.c [deleted file]