Mathieu Desnoyers
6784fd5931
Fix FRV cmpxchg_local
...
Fix the FRV cmpxchg_local by breaking the following header dependency loop :
linux/kernel.h -> linux/bitops.h -> asm-frv/bitops.h -> asm-frv/atomic.h
-> asm-frv/system.h ->
asm-generic/cmpxchg_local.h -> typecheck() defined in linux/kernel.h
and
linux/kernel.h -> linux/bitops.h -> asm-frv/bitops.h -> asm-frv/atomic.h ->
asm-generic/cmpxchg_local.h -> typecheck() defined in linux/kernel.h
In order to fix this :
- Move the atomic_test_and_ *_mask inlines from asm-frv/atomic.h (why are they
there at all anyway ? They are not touching atomic_t variables!) to
asm-frv/bitops.h.
Also fix a build issue with cmpxchg : it does not cast to (unsigned long *)
like other architectures, to deal with it in the cmpxchg_local macro.
FRV builds fine with this patch.
Thanks to Adrian Bunk <[email protected] > for spotting this bug.
Signed-off-by: Mathieu Desnoyers <[email protected] >
Cc: Adrian Bunk <[email protected] >
Cc: David Howells <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2008-02-08 15:33:32 -08:00
..
2008-02-08 15:33:32 -08:00
2005-09-07 16:57:21 -07:00
2005-04-16 15:20:36 -07:00
2008-02-08 15:33:32 -08: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
2008-02-03 17:34:55 +02:00
2006-12-02 21:23:03 -08:00
2006-09-26 08:48:53 -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-01 14:52:01 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2008-02-05 09:44:20 -08:00
2006-10-05 15:10:12 +01:00
2008-02-07 08:42:30 -08:00
2005-07-26 14:35:41 -07:00
2005-04-16 15:20:36 -07:00
2007-07-17 10:23:11 -07:00
2005-09-07 16:57:38 -07:00
2006-04-26 12:56:16 +01:00
2006-03-27 08:44:49 -08:00
2006-07-10 13:24:22 -07:00
2005-04-16 15:20:36 -07:00
2006-09-26 08:48:53 -07:00
2008-02-03 15:54:28 +02:00
2005-04-16 15:20:36 -07:00
2008-01-25 22:17:08 +01:00
2005-04-16 15:20:36 -07:00
2006-10-11 11:14:23 -07: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-10-05 15:10:12 +01:00
2007-11-09 15:11:44 -08:00
2008-02-07 08:42:30 -08: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
2005-04-16 15:20:36 -07:00
2007-08-01 20:48:17 -07:00
2006-09-26 08:48:53 -07:00
2006-09-26 08:48:53 -07:00
2006-09-26 08:48:53 -07:00
2006-09-26 08:48:53 -07:00
2006-06-23 07:42:54 -07:00
2006-01-08 20:13:38 -08:00
2008-02-03 15:54:28 +02:00
2006-02-15 15:32:22 -08:00
2007-05-02 19:27:14 +02:00
2005-04-16 15:20:36 -07:00
2006-01-08 20:13:37 -08:00
2005-04-16 15:20:36 -07:00
2006-01-09 15:59:19 -08:00
2006-10-03 23:01:26 +02:00
2008-02-08 09:22:42 -08:00
2008-02-08 09:22:39 -08:00
2007-07-11 16:02:11 -07:00
2005-04-16 15:20:36 -07:00
2008-02-08 09:22:42 -08:00
2008-02-05 09:44:18 -08:00
2007-05-11 08:29:34 -07:00
2008-02-08 09:22:34 -08:00
2006-07-12 12:56:45 -07:00
2007-02-01 16:17:05 -08:00
2006-07-10 13:24:22 -07:00
2005-04-16 15:20:36 -07:00
2008-02-05 09:44:20 -08:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2007-10-17 08:42:47 -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-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
2005-04-16 15:20:36 -07:00
2006-07-02 13:58:46 -07:00
2006-04-26 12:56:16 +01:00
2008-01-31 19:27:19 -08:00
2007-04-25 22:24:04 -07:00
2005-04-16 15:20:36 -07:00
2006-02-14 16:09:35 -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
2005-04-16 15:20:36 -07:00
2008-02-08 15:33:32 -08:00
2007-07-10 17:51:13 -07:00
2007-02-11 10:51:26 -08:00
2007-10-16 09:43:03 -07:00
2005-04-16 15:20:36 -07:00
2006-10-01 00:39:27 -07:00
2007-05-09 12:30:46 -07:00
2007-10-19 11:53:34 -07:00
2005-04-16 15:20:36 -07:00
2007-10-17 08:42:53 -07:00
2007-07-15 16:40:52 -07:00
2005-04-16 15:20:36 -07:00
2006-04-26 12:56:16 +01:00
2008-02-05 14:37:15 -08:00
2005-04-16 15:20:36 -07:00
2006-01-08 20:13:38 -08:00
2006-04-26 12:56:16 +01:00
2006-01-08 20:13:38 -08:00