Message ID | 20210707083032.567-1-mark.rutland@arm.com |
---|---|
State | New |
Headers | show |
Series | locking/atomic: sparc: fix arch_cmpxchg64_local() | expand |
From: Mark Rutland <mark.rutland@arm.com> Date: Wed, 7 Jul 2021 09:30:32 +0100 > Peter, David, could one of you please apply this? It's an urgent fix for > fallout from the ARCH_ATOMIC conversion, and it'd be good to fix before -rc1. Peter please take this as I am backlogged. Thank you.
diff --git a/arch/sparc/include/asm/cmpxchg_64.h b/arch/sparc/include/asm/cmpxchg_64.h index 8c39a9981187..12d00a42c0a3 100644 --- a/arch/sparc/include/asm/cmpxchg_64.h +++ b/arch/sparc/include/asm/cmpxchg_64.h @@ -201,7 +201,7 @@ static inline unsigned long __cmpxchg_local(volatile void *ptr, #define arch_cmpxchg64_local(ptr, o, n) \ ({ \ BUILD_BUG_ON(sizeof(*(ptr)) != 8); \ - cmpxchg_local((ptr), (o), (n)); \ + arch_cmpxchg_local((ptr), (o), (n)); \ }) #define arch_cmpxchg64(ptr, o, n) arch_cmpxchg64_local((ptr), (o), (n))