Gunnar Larisch 85fdbe1b4b Add cmpxchg_local to ppc
Add a local processor version of cmpxchg for ppc.

Implements __cmpxchg_u32_local and uses it for 32 bits cmpxchg_local.
It uses the non NMI safe cmpxchg_local_generic for 1, 2 and 8 bytes
cmpxchg_local.

Signed-off-by: Gunnar Larisch <gl@denx.de>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Kumar Gala <galak@gate.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-07 08:42:32 -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-09 14:49:54 +11:00
2008-01-28 08:33:10 -06:00
2005-04-16 15:20:36 -07:00
2007-10-17 08:42:55 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-10-10 11:55:25 +10: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
2008-01-28 08:33:10 -06:00
2005-04-16 15:20:36 -07:00
2007-07-11 16:02:11 -07:00
2008-01-28 08:33:10 -06:00
2005-04-16 15:20:36 -07:00
2008-01-28 08:33:10 -06:00
2008-01-28 08:33:10 -06:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2008-01-28 08:33:10 -06:00
2005-04-16 15:20:36 -07:00
2005-11-07 07:53:47 -08:00
2006-10-03 23:01:26 +02:00
2008-01-28 08:33:10 -06:00
2006-10-07 22:11:20 +10:00
2005-04-16 15:20:36 -07:00
2008-02-07 08:42:32 -08:00
2007-10-18 14:37:32 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00