arch/tile: Fix bug in support for atomic64_xx() ops.
authorChris Metcalf <cmetcalf@tilera.com>
Fri, 25 Jun 2010 21:02:40 +0000 (17:02 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Tue, 6 Jul 2010 17:41:39 +0000 (13:41 -0400)
commit2db098278118ed58f4b407ceda691e349df043ce
tree91f819e1f5931f92921dbf44c99d2e1a0bc18f58
parent863fbac67138882b99fc60fcb0ec568bbad9a44f
arch/tile: Fix bug in support for atomic64_xx() ops.

This wasn't properly tested until the perf-event subsystem started
to get brought up under the tile architecture.

The bug caused bogus atomic64_cmpxchg() values to be returned,
among other things.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/tile/lib/atomic_asm_32.S