linux/arch/tile/include
Chris Metcalf 8aaf1dda42 arch/tile: use better definitions of xchg() and cmpxchg()
These definitions use a ({}) construct to avoid some cases where
we were getting warnings about unused return values.  We also
promote the definition to the common <asm/atomic.h>, since it applies
to both the 32- and 64-bit atomics.

In addition, define __HAVE_ARCH_CMPXCHG for TILE-Gx since it has
efficient direct atomic instructions.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
2011-05-19 22:55:49 -04:00
..
arch arch/tile: finish enabling support for TILE-Gx 64-bit chip 2011-05-12 15:52:12 -04:00
asm arch/tile: use better definitions of xchg() and cmpxchg() 2011-05-19 22:55:49 -04:00
hv arch/tile: kernel-related cleanups from removing static page size 2011-05-04 14:41:13 -04:00