Mathieu Desnoyers
2856f5e31c
atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular dependency
...
atomic_add_unless as inline. Remove system.h atomic.h circular dependency.
I agree (with Andi Kleen) this typeof is not needed and more error
prone. All the original atomic.h code that uses cmpxchg (which includes
the atomic_add_unless) uses defines instead of inline functions,
probably to circumvent a circular dependency between system.h and
atomic.h on powerpc (which my patch addresses). Therefore, it makes
sense to use inline functions that will provide type checking.
atomic_add_unless as inline. Remove system.h atomic.h circular dependency.
Digging into the FRV architecture shows me that it is also affected by
such a circular dependency. Here is the diff applying this against the
rest of my atomic.h patches.
It applies over the atomic.h standardization patches.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-08 11:15:20 -07:00
..
2005-04-16 15:20:36 -07:00
2005-11-01 21:41:19 -08:00
2007-05-08 11:15:20 -07:00
2005-09-07 16:57:21 -07:00
2007-02-09 10:45:33 -08:00
2005-04-16 15:20:36 -07:00
2006-06-28 15:03:47 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-12-13 09:27:08 -08:00
2006-12-02 21:23:08 -08:00
2006-06-25 21:04:24 -07:00
2006-04-26 12:56:16 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-01 21:41:19 -08:00
2006-12-01 14:52:01 -08:00
2005-04-16 15:20:36 -07:00
2006-12-04 08:28:47 -08:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2005-07-26 14:35:41 -07:00
2006-04-26 12:56:16 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2006-01-08 20:13:39 -08:00
2006-04-26 12:56:16 +01:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2006-01-10 08:01:34 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-11-20 10:16:49 -08:00
2006-12-06 07:41:26 -08:00
2006-11-20 10:16:49 -08:00
2006-06-18 12:58:53 +01:00
2007-05-08 11:15:04 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-12-04 08:26:12 -08:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2007-03-06 18:08:38 -08:00
2006-06-25 17:43:33 -07:00
2006-04-26 12:56:16 +01:00
2006-06-25 21:04:24 -07:00
2006-04-26 12:56:16 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-11-20 10:16:49 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-01 08:59:09 -07:00
2005-05-01 08:59:09 -07:00
2005-05-01 08:59:09 -07:00
2005-04-16 15:20:36 -07:00
2006-06-25 17:43:33 -07:00
2006-04-26 12:56:16 +01:00
2006-11-30 05:24:39 +01:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-06-25 17:43:33 -07:00
2006-06-25 17:43:33 -07:00
2006-04-26 12:56:16 +01:00
2006-06-25 17:43:33 -07:00
2006-06-25 17:43:34 -07:00
2006-04-26 12:56:16 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2007-05-02 19:27:14 +02:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-09 15:59:19 -08:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-06-26 10:59:44 -07:00
2006-09-21 08:50:36 +01:00
2006-04-26 12:56:16 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2007-05-08 11:15:13 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-10-03 23:01:26 +02:00
2006-06-27 18:30:14 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-12-06 07:41:26 -08:00
2007-05-02 19:02:34 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2005-11-01 21:41:19 -08:00
2005-04-16 15:20:36 -07:00
2006-12-07 08:39:46 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-10 09:31:27 -08:00
2005-04-16 15:20:36 -07:00
2006-07-02 13:58:47 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-07-14 21:56:14 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-12 09:08:59 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-01 21:41:19 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-07-13 07:51:48 -07:00
2006-12-06 07:41:26 -08:00
2006-04-26 12:56:16 +01:00
2006-12-07 08:39:37 -08:00
2005-04-16 15:20:36 -07:00