fix aarch64 atomics to load/store 32bit only
authorSzabolcs Nagy <nsz@port70.net>
Sun, 24 Jan 2016 20:51:34 +0000 (20:51 +0000)
committerRich Felker <dalias@aerifal.cx>
Mon, 25 Jan 2016 00:07:35 +0000 (19:07 -0500)
commit2d14fa39b0e3c957ad4f7def033e40ea431ffcfb
tree6220e84a37ddd3efa60cd5a08c6d401073e6ed31
parentb17fbd3520640745051d2fd9f1fd334ceb8b8783
fix aarch64 atomics to load/store 32bit only

a_ll/a_sc inline asm used 64bit register operands (%0) instead of 32bit
ones (%w0), this at least broke a_and_64 (which always cleared the top
32bit, leaking memory in malloc).
arch/aarch64/atomic_arch.h