Mathieu Desnoyers 80af4eeb72 Add cmpxchg_local to sparc64
Use cmpxchg_u32 and cmpxchg_u64 for cmpxchg_local and cmpxchg64_local. For other
type sizes, use the new generic cmpxchg_local (disables interrupt).

Change:
Since the header depends on local_irqsave/local_irqrestore, it must be
included after their declaration.

Actually, being below the
#include <linux/irqflags.h> should be enough, and on sparc64 it is
included at the beginning of system.h.

So it makes sense to move it up for sparc64.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-07 08:42:33 -08:00
..
2008-02-03 17:07:16 +02:00
2008-02-07 08:42:31 -08:00
2008-02-07 08:42:31 -08:00
2008-02-07 08:42:31 -08:00
2008-02-07 08:42:32 -08:00
2008-02-07 08:42:32 -08:00
2008-02-07 08:42:32 -08:00
2008-02-07 08:42:32 -08:00
2008-02-07 08:42:32 -08:00
2008-02-07 08:42:32 -08:00
2008-02-07 08:42:33 -08:00
2008-02-05 09:44:31 -08:00
2008-02-07 08:42:30 -08:00
2008-02-03 17:19:47 +02:00
2008-02-06 19:25:06 -06:00
2008-02-03 17:47:00 +02:00
2008-01-31 17:40:18 +01:00
2008-02-06 10:41:16 -08:00