diff options
| -rw-r--r-- | arch/powerpc/atomic_arch.h | 8 | ||||
| -rw-r--r-- | arch/powerpc64/atomic_arch.h | 8 | 
2 files changed, 0 insertions, 16 deletions
| diff --git a/arch/powerpc/atomic_arch.h b/arch/powerpc/atomic_arch.h index 5b65cde7..c2673919 100644 --- a/arch/powerpc/atomic_arch.h +++ b/arch/powerpc/atomic_arch.h @@ -30,14 +30,6 @@ static inline void a_post_llsc()  	__asm__ __volatile__ ("isync" : : : "memory");  } -#define a_store a_store -static inline void a_store(volatile int *p, int v) -{ -	a_pre_llsc(); -	*p = v; -	a_post_llsc(); -} -  #define a_clz_32 a_clz_32  static inline int a_clz_32(uint32_t x)  { diff --git a/arch/powerpc64/atomic_arch.h b/arch/powerpc64/atomic_arch.h index 17cababd..2bed82be 100644 --- a/arch/powerpc64/atomic_arch.h +++ b/arch/powerpc64/atomic_arch.h @@ -48,14 +48,6 @@ static inline void a_post_llsc()  	__asm__ __volatile__ ("isync" : : : "memory");  } -#define a_store a_store -static inline void a_store(volatile int *p, int v) -{ -	a_pre_llsc(); -	*p = v; -	a_post_llsc(); -} -  #define a_crash a_crash  static inline void a_crash()  { | 
