diff options
author | Gunnar Larisch <gl@denx.de> | 2008-02-07 00:16:22 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-07 08:42:32 -0800 |
commit | 85fdbe1b4b33b797321bfadf706b355e7cca6165 (patch) | |
tree | bb24d49bb9cc2167742af843718587b408ad71e2 /arch/powerpc/kernel/udbg_16550.c | |
parent | df80c8c5679c4e6c72e694525d76a9f26d5f33dc (diff) |
Add cmpxchg_local to ppc
Add a local processor version of cmpxchg for ppc.
Implements __cmpxchg_u32_local and uses it for 32 bits cmpxchg_local.
It uses the non NMI safe cmpxchg_local_generic for 1, 2 and 8 bytes
cmpxchg_local.
Signed-off-by: Gunnar Larisch <gl@denx.de>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Kumar Gala <galak@gate.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/powerpc/kernel/udbg_16550.c')
0 files changed, 0 insertions, 0 deletions