diff options
| author | Al Viro <[email protected]> | 2024-04-01 22:07:58 -0400 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2024-04-09 22:06:00 -0700 |
| commit | b7e2a6389e146325227d90eb3ee47bf11647cde6 (patch) | |
| tree | a15cfc6cc25fa3d2603c5f9bbc0d827b9e74c848 /arch/sparc/include | |
| parent | 2f528020a29021a9e5da1b85488993e8d9808a38 (diff) | |
sparc32: make the first argument of __cmpxchg_u64() volatile u64 *
... to match all cmpxchg variants.
Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'arch/sparc/include')
| -rw-r--r-- | arch/sparc/include/asm/cmpxchg_32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/cmpxchg_32.h b/arch/sparc/include/asm/cmpxchg_32.h index 2a05cb236480..05d5f86a56dc 100644 --- a/arch/sparc/include/asm/cmpxchg_32.h +++ b/arch/sparc/include/asm/cmpxchg_32.h @@ -63,7 +63,7 @@ __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); +u64 __cmpxchg_u64(volatile u64 *ptr, u64 old, u64 new); #define arch_cmpxchg64(ptr, old, new) __cmpxchg_u64(ptr, old, new) #include <asm-generic/cmpxchg-local.h> |