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:19 -07:00
2006-12-08 08:28:39 -08:00
2007-03-05 07:57:52 -08:00
2007-05-02 19:27:15 +02:00
2007-04-25 22:23:33 -07:00
2007-02-16 08:13:59 -08:00
2007-03-05 07:57:50 -08:00
2007-02-16 08:13:59 -08:00
2007-05-02 19:27:20 +02:00
2007-05-02 19:27:16 +02:00
2007-05-02 19:27:16 +02:00
2007-02-13 13:26:21 +01:00
2007-05-02 19:02:34 -07:00
2007-05-02 19:27:16 +02:00
2007-03-05 07:57:52 -08:00
2007-03-05 07:57:51 -08:00
2007-05-08 11:15:18 -07:00
2006-12-15 08:47:51 -08:00
2007-03-05 07:57:52 -08:00