atomic: fix a typo in atomic_long_xchg()

atomic_long_xchg() is not correctly defined for 32bit arches.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Eric Dumazet and committed by Linus Torvalds aa6f1479 80bba129

+1 -1
+1 -1
include/asm-generic/atomic.h
··· 251 #define atomic_long_cmpxchg(l, old, new) \ 252 (atomic_cmpxchg((atomic_t *)(l), (old), (new))) 253 #define atomic_long_xchg(v, new) \ 254 - (atomic_xchg((atomic_t *)(l), (new))) 255 256 #endif /* BITS_PER_LONG == 64 */ 257
··· 251 #define atomic_long_cmpxchg(l, old, new) \ 252 (atomic_cmpxchg((atomic_t *)(l), (old), (new))) 253 #define atomic_long_xchg(v, new) \ 254 + (atomic_xchg((atomic_t *)(v), (new))) 255 256 #endif /* BITS_PER_LONG == 64 */ 257