diff options
| author | Chris Metcalf <[email protected]> | 2011-05-16 17:59:39 +0000 |
|---|---|---|
| committer | Chris Metcalf <[email protected]> | 2011-05-20 02:55:49 +0000 |
| commit | 8aaf1dda42576b0f8dffb004065baa806f4df9b6 (patch) | |
| tree | e9376caaf70b54e4b236840a1cc77a443c07b341 /fs/jbd2/commit.c | |
| parent | include/linux/compat.h: coding-style fixes (diff) | |
| download | kernel-8aaf1dda42576b0f8dffb004065baa806f4df9b6.tar.gz kernel-8aaf1dda42576b0f8dffb004065baa806f4df9b6.zip | |
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 <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
