summaryrefslogtreecommitdiff
path: root/arch/microblaze/atomic.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-07-19 12:19:20 -0400
committerRich Felker <dalias@aerifal.cx>2014-07-28 00:28:00 -0400
commitb1d89d48aa8b52d0e5b918750b047e139a637178 (patch)
treecd304dce45021a30566d0647d437e5b987449724 /arch/microblaze/atomic.h
parent1431b29888eb22057fe7e441082015ea3c2f1e7a (diff)
downloadmusl-b1d89d48aa8b52d0e5b918750b047e139a637178.tar.gz
fix broken constraints for powerpc atomic cas asm
the register constraint for the address to be accessed did not convey that the asm can access the pointed-to object. as far as the compiler could tell, the result of the asm was just a pure function of the address and the values passed in, and thus the asm could be hoisted out of loops or omitted entirely if the result was not used. (cherry picked from commit 7fdae458bd421046a300a69dcb32953ac9450136)
Diffstat (limited to 'arch/microblaze/atomic.h')
0 files changed, 0 insertions, 0 deletions