commit | a469abd0f868c902b75532579bf87553dcf1b360 | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Mon Apr 08 17:13:12 2013 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Thu May 30 16:02:34 2013 +0100 |
tree | 45b8497556dff1a90311bbd087f34ff4791be9d6 | |
parent | e38a517578d6c0f764b0d0f6e26dcdf9f70c69d7 [diff] |
ARM: elf: add new hwcap for identifying atomic ldrd/strd instructions CPUs implementing LPAE have atomic ldrd/strd instructions, meaning that userspace software can avoid having to use the exclusive variants of these instructions if they wish. This patch advertises the atomicity of these instructions via the hwcaps, so userspace can detect this CPU feature. Reported-by: Vladimir Danushevsky <vladimir.danushevsky@oracle.com> Signed-off-by: Will Deacon <will.deacon@arm.com>