Mathieu Desnoyers e656e245d5 atomic.h: i386 type safety fix
Remove an explicit cast to an integer type for the result returned by cmpxchg.
 It is not per se a problem on the i386 architecture, because sizeof(int) ==
sizeof(long), but whenever this code is cut'n'pasted to a accept passing an
atomic64_t value as parameter to cmpxchg, xchg and add_unless, having 64 bits
inputs casted to 32 bits.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-08 11:15:19 -07:00
..
2007-05-08 11:15:08 -07:00
2007-05-07 12:12:58 -07:00
2007-05-08 11:15:19 -07:00
2007-05-08 11:15:16 -07:00
2007-05-08 11:15:18 -07:00
2007-04-27 14:23:33 +03:00
2007-05-08 11:15:09 -07:00
2007-05-07 12:12:50 -07:00
2007-04-17 18:15:04 -04:00
2007-03-14 08:25:52 +01:00