summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/msgbuf.h
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>2008-02-07 00:16:17 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-07 08:42:32 -0800
commit7b631c2de63b4475351258197409983c8189ed04 (patch)
tree915d5b3d1b7ba8f47e0f5abfba70aec94c106d9e /include/asm-mips/msgbuf.h
parent4b78fff6e736cae55dc3fb5570c7ef4037eca9b7 (diff)
downloadop-kernel-dev-7b631c2de63b4475351258197409983c8189ed04.zip
op-kernel-dev-7b631c2de63b4475351258197409983c8189ed04.tar.gz
New cmpxchg_local (optimized for UP case) for m32r
Add __xchg_local, xchg_local (define), __cmpxchg_local_u32, __cmpxchg_local, cmpxchg_local(macro). cmpxchg_local and cmpxchg64_local will use the architecture specific __cmpxchg_local_u32 for 32 bits arguments, and use the generic __cmpxchg_local_generic for 8, 16 and 64 bits arguments. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Acked-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-mips/msgbuf.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud