diff options
Diffstat (limited to 'arch/s390/include/asm/cmpxchg.h')
| -rw-r--r-- | arch/s390/include/asm/cmpxchg.h | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/arch/s390/include/asm/cmpxchg.h b/arch/s390/include/asm/cmpxchg.h index 3f26416c2ad8..06e0e42f4eec 100644 --- a/arch/s390/include/asm/cmpxchg.h +++ b/arch/s390/include/asm/cmpxchg.h @@ -14,8 +14,8 @@  void __xchg_called_with_bad_pointer(void); -static __always_inline unsigned long __xchg(unsigned long x, -					    unsigned long address, int size) +static __always_inline unsigned long +__arch_xchg(unsigned long x, unsigned long address, int size)  {  	unsigned long old;  	int shift; @@ -77,8 +77,8 @@ static __always_inline unsigned long __xchg(unsigned long x,  	__typeof__(*(ptr)) __ret;					\  									\  	__ret = (__typeof__(*(ptr)))					\ -		__xchg((unsigned long)(x), (unsigned long)(ptr),	\ -		       sizeof(*(ptr)));					\ +		__arch_xchg((unsigned long)(x), (unsigned long)(ptr),	\ +			    sizeof(*(ptr)));				\  	__ret;								\  }) | 
