summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2018-09-13 14:28:33 +0100
committerWill Deacon <will.deacon@arm.com>2018-12-07 17:28:01 +0000
commitb4f9209bfcd5964551de434342818334ab9c8c7e (patch)
tree69578d6a718bb6f9ff0f3f4cad3cecb801a88758 /rust/alloc/collections/git@git.tavy.me:linux.git
parent5ef3fe4cecdf82fdd71ce78988403963d01444d4 (diff)
arm64: Avoid masking "old" for LSE cmpxchg() implementation
The CAS instructions implicitly access only the relevant bits of the "old" argument, so there is no need for explicit masking via type-casting as there is in the LL/SC implementation. Move the casting into the LL/SC code and remove it altogether for the LSE implementation. Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions