diff options
author | David S. Miller <davem@davemloft.net> | 2011-07-29 08:31:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-29 08:31:26 +0200 |
commit | ac85fe8b21248054851e05bfaa352562e5b06dd3 (patch) | |
tree | 4c666e39ff9383180ea33e1246af5eafaac64954 /ipc | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc (diff) | |
download | linux-ac85fe8b21248054851e05bfaa352562e5b06dd3.tar.xz linux-ac85fe8b21248054851e05bfaa352562e5b06dd3.zip |
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 <davem@davemloft.net>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions