[IA64] Use atomic64_read to read an atomic64_t.
authorAndreas Schwab <schwab@suse.de>
Fri, 10 Aug 2007 21:42:59 +0000 (23:42 +0200)
committerTony Luck <tony.luck@intel.com>
Mon, 13 Aug 2007 17:21:04 +0000 (10:21 -0700)
commit6cba986298105a87a09d65baa2658fb5111459c6
tree97bce01daebaff539a9e6a1d5d7d396418f6003d
parent71416bea5afa9e5a6c76c1509ab69c46c857a2bb
[IA64] Use atomic64_read to read an atomic64_t.

The routines ia64_atomic64_{add,sub} mistakenly use
atomic_read() to grab the old value instead of using
atomic64_read().

Signed-off-by: Andreas Schwab <schwab@suse.de>
Signed-off-by: Tony Luck <tony.luck@intel.com>
include/asm-ia64/atomic.h