projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc
[linux-2.6-block.git]
/
arch
/
sparc
/
include
/
asm
/
cmpxchg_32.h
diff --git
a/arch/sparc/include/asm/cmpxchg_32.h
b/arch/sparc/include/asm/cmpxchg_32.h
index 3e3823db303e7d4016a9d5116d0a11e31844dfff..c73b5a3ab7b91f971d7ca9f3f09e7814fd113856 100644
(file)
--- a/
arch/sparc/include/asm/cmpxchg_32.h
+++ b/
arch/sparc/include/asm/cmpxchg_32.h
@@
-63,6
+63,9
@@
__cmpxchg(volatile void *ptr, unsigned long old, unsigned long new_, int size)
(unsigned long)_n_, sizeof(*(ptr))); \
})
+u64 __cmpxchg_u64(u64 *ptr, u64 old, u64 new);
+#define cmpxchg64(ptr, old, new) __cmpxchg_u64(ptr, old, new)
+
#include <asm-generic/cmpxchg-local.h>
/*