Mathieu Desnoyers 5e86c11d3e Add cmpxchg_local to avr32
Use the new generic cmpxchg_local (disables interrupt) for 8, 16 and 64 bits
cmpxchg_local. Use the __cmpxchg_u32 primitive for 32 bits cmpxchg_local.

Note that cmpxchg only uses the __cmpxchg_u32 or __cmpxchg_u64 and will cause
a linker error if called with 8 or 16 bits argument.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Acked-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-07 08:42:31 -08:00
..
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2007-10-19 11:53:41 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2007-10-24 10:16:02 +02:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2007-07-17 10:23:11 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2007-02-09 15:01:58 +01:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-10-11 11:14:14 -07:00
2008-01-25 08:31:43 +01:00
2006-09-26 08:48:54 -07:00
2008-01-25 08:31:43 +01:00
2006-09-26 08:48:54 -07:00
2007-10-16 09:43:10 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2007-05-11 08:29:34 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2007-10-17 08:42:47 -07:00
2006-09-26 08:48:54 -07:00
2008-01-28 23:21:18 +01:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2008-02-07 08:42:31 -08:00
2008-02-06 10:41:02 -08:00
2006-09-26 08:48:54 -07:00
2007-10-19 11:53:34 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2008-02-05 14:37:15 -08:00
2008-02-07 08:42:30 -08:00