diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2012-03-30 15:46:29 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2012-04-02 12:13:49 -0400 |
commit | ab306cae660e524edbeb8889e4e23d3c97717b9c (patch) | |
tree | c588cb46c9497e9271e8bc5b5b4f5e53244c6cf9 /arch/tile/lib | |
parent | b14f21906774be181627412fed5b6b5fae2b53a2 (diff) | |
download | linux-ab306cae660e524edbeb8889e4e23d3c97717b9c.tar.bz2 |
arch/tile: use atomic exchange in arch_write_unlock()
This idiom is used elsewhere when we do an unlock by writing a zero,
but I missed it here. Using an atomic operation avoids waiting
on the write buffer for the unlocking write to be sent to the home cache.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/lib')
0 files changed, 0 insertions, 0 deletions