summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2012-09-10 18:55:21 +0100
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2012-11-19 14:51:12 +0000
commitb4b8f770eb10a1bccaf8aa0ec1956e2dd7ed1e0a (patch)
treeb8a7daa2b44a0d639323a6add79b548e0bb7f6c4 /init
parente8d432c9cf0a3d569b2d00877d12c9ffe9e55286 (diff)
downloadtalos-obmc-linux-b4b8f770eb10a1bccaf8aa0ec1956e2dd7ed1e0a.tar.gz
talos-obmc-linux-b4b8f770eb10a1bccaf8aa0ec1956e2dd7ed1e0a.zip
ARM: kernel: update cpuinfo to print all online CPUs features
Currently, reading /proc/cpuinfo provides userspace with CPU ID of the CPU carrying out the read from the file. This is fine as long as all CPUs in the system are the same. With the advent of big.LITTLE and heterogenous ARM systems this approach provides user space with incorrect bits of information since CPU ids in the system might differ from the one provided by the CPU reading the file. This patch updates the cpuinfo show function so that a read from /proc/cpuinfo prints HW information for all online CPUs at once, mirroring x86 behaviour. Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Acked-by: Nicolas Pitre <nico@linaro.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud