From: David S. Miller Date: Fri, 29 Jul 2011 06:31:26 +0000 (-0700) Subject: sparc: Sanitize cpu feature detection and reporting. X-Git-Tag: v3.1-rc1~23^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac85fe8b21248054851e05bfaa352562e5b06dd3;p=pandora-kernel.git sparc: Sanitize cpu feature detection and reporting. Instead of evaluating the cpu features for ELF_HWCAP every exec, calculate it once at boot time. Add AV_SPARC_* capability flag bits, compatible with what Solaris reports to applications. Report these capabilities once in the kernel log, and also via /proc/cpuinfo in a new "cpucaps" entry. If available, fetch the cpu features from the machine description 'hwcap-list' property of the 'cpu' node. Signed-off-by: David S. Miller --- Reading git-diff-tree failed