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-02 19:27:04 +02:00
2007-05-02 19:27:04 +02:00
2007-05-02 19:27:08 +02:00
2007-05-02 19:27:04 +02:00
2007-05-02 19:27:04 +02:00
2007-05-02 19:27:08 +02:00
2007-05-02 19:27:04 +02:00
2007-02-16 08:13:59 -08:00
2007-02-13 00:09:13 -05:00
2007-04-26 14:22:50 -04:00
2007-05-02 19:27:20 +02:00
2007-05-02 19:27:17 +02:00
2007-05-08 11:15:19 -07:00
2007-02-11 10:51:32 -08:00
2007-01-05 23:55:23 -08:00
2006-12-08 08:28:39 -08:00
2007-05-02 19:27:16 +02:00
2006-12-13 09:27:08 -08:00
2007-05-02 19:27:20 +02:00
2007-05-02 19:27:16 +02: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
2006-12-07 08:39:41 -08:00
2007-05-02 19:27:11 +02:00
2007-05-08 11:15:08 -07:00
2007-05-02 19:27:13 +02:00
2007-05-02 19:27:04 +02:00
2007-05-02 19:27:15 +02:00
2007-05-02 19:27:04 +02:00
2007-05-02 19:27:21 +02:00
2007-02-16 08:13:59 -08:00
2006-12-08 08:29:03 -08:00
2007-03-05 07:57:50 -08:00
2007-05-02 19:27:10 +02:00
2007-05-08 11:15:03 -07:00
2007-05-02 19:27:16 +02:00
2007-05-02 19:27:04 +02:00
2007-05-02 19:27:10 +02:00
2007-05-02 19:27:12 +02:00
2007-05-08 11:15:04 -07:00
2007-05-08 11:15:07 -07:00
2007-02-13 13:26:26 +01:00
2007-05-02 19:27:14 +02:00
2006-12-07 08:39:23 -08:00
2007-05-02 19:27:05 +02:00
2007-02-16 08:13:59 -08:00
2007-05-02 19:27:17 +02:00
2007-05-02 19:27:12 +02:00
2007-05-02 19:27:17 +02:00
2007-05-02 19:27:20 +02:00
2007-05-02 19:27:13 +02:00
2006-12-07 08:39:46 -08:00
2007-05-02 19:27:15 +02:00
2007-05-02 19:27:16 +02:00
2007-05-02 19:27:04 +02:00
2007-05-02 19:27:13 +02:00
2007-05-02 19:27:19 +02:00
2007-05-02 19:27:13 +02:00
2007-05-02 19:27:19 +02:00
2007-05-08 11:15:13 -07:00
2007-05-02 19:27:12 +02:00
2007-05-02 19:27:16 +02:00
2007-02-13 13:26:21 +01:00
2007-05-02 19:27:06 +02:00
2007-05-02 19:27:11 +02:00
2007-05-02 19:27:20 +02:00
2006-12-07 08:39:36 -08:00
2007-05-02 19:02:34 -07:00
2007-05-02 19:27:16 +02:00
2007-02-13 13:26:26 +01:00
2007-05-02 19:27:16 +02:00
2007-04-25 22:24:21 -07:00
2007-04-25 22:24:04 -07:00
2006-12-07 08:59:11 -08:00
2007-03-16 19:25:07 -07:00
2007-05-02 19:27:10 +02:00
2007-05-08 11:15:03 -07:00
2007-05-08 11:15:03 -07:00
2007-05-07 12:12:53 -07:00
2007-03-05 07:57:52 -08:00
2007-05-02 19:27:05 +02:00
2007-05-02 19:27:15 +02:00
2007-03-05 07:57:51 -08:00
2007-05-02 19:27:21 +02:00
2007-05-02 19:27:06 +02:00
2007-05-08 11:15:18 -07:00
2006-12-15 08:47:51 -08:00
2007-05-02 19:27:16 +02:00
2007-03-05 07:57:52 -08:00
2007-05-01 10:09:29 -05:00