Skip to content
Commit ac85fe8b authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
parent 55f9c40f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment