From: Lorenzo Pieralisi Date: Mon, 10 Sep 2012 17:55:21 +0000 (+0100) Subject: ARM: kernel: update cpuinfo to print all online CPUs features X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~53^2^2~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4b8f770eb10a1bccaf8aa0ec1956e2dd7ed1e0a;p=pandora-kernel.git 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 Acked-by: Nicolas Pitre --- Reading git-diff-tree failed