diff options
author | Will Deacon <will.deacon@arm.com> | 2015-10-08 20:15:18 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2015-10-12 17:36:58 +0100 |
commit | 305d454aaa292be3a09a9d674e6c35f5b4249a13 (patch) | |
tree | a99817f99077f273efd34d87c082958768ba91bf /arch/arm64/mm/pgd.c | |
parent | e8f3010f7326c00368dbc057bd052bec80dfc072 (diff) |
arm64: atomics: implement native {relaxed, acquire, release} atomics
Commit 654672d4ba1a ("locking/atomics: Add _{acquire|release|relaxed}()
variants of some atomic operation") introduced a relaxed atomic API to
Linux that maps nicely onto the arm64 memory model, including the new
ARMv8.1 atomic instructions.
This patch hooks up the API to our relaxed atomic instructions, rather
than have them all expand to the full-barrier variants as they do
currently.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/mm/pgd.c')
0 files changed, 0 insertions, 0 deletions