diff options
author | Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> | 2008-02-07 08:16:25 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-07 16:42:33 (GMT) |
commit | 80af4eeb726f038eddc32826e4238feba5b1dfb4 (patch) | |
tree | 004867c90a5294a8902fc01f1181beacab587300 /include/asm-v850 | |
parent | 405321d3ab2b41960e2874f2f74609daffbc7a4c (diff) | |
download | linux-fsl-qoriq-80af4eeb726f038eddc32826e4238feba5b1dfb4.tar.xz |
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>
Diffstat (limited to 'include/asm-v850')
0 files changed, 0 insertions, 0 deletions