aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/auxvec.h
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>2008-02-07 00:16:25 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-07 08:42:33 -0800
commit80af4eeb726f038eddc32826e4238feba5b1dfb4 (patch)
tree004867c90a5294a8902fc01f1181beacab587300 /include/asm-sparc64/auxvec.h
parentAdd cmpxchg_local to sparc, move __cmpxchg to system.h (diff)
downloadlinux-dev-80af4eeb726f038eddc32826e4238feba5b1dfb4.tar.xz
linux-dev-80af4eeb726f038eddc32826e4238feba5b1dfb4.zip
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-sparc64/auxvec.h')
0 files changed, 0 insertions, 0 deletions