diff options
Diffstat (limited to 'arch/mips/include/asm/atomic.h')
-rw-r--r-- | arch/mips/include/asm/atomic.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/mips/include/asm/atomic.h b/arch/mips/include/asm/atomic.h index 31cb23debb7e..1d93f81d57e7 100644 --- a/arch/mips/include/asm/atomic.h +++ b/arch/mips/include/asm/atomic.h | |||
@@ -765,10 +765,6 @@ static __inline__ int atomic64_add_unless(atomic64_t *v, long a, long u) | |||
765 | */ | 765 | */ |
766 | #define atomic64_add_negative(i, v) (atomic64_add_return(i, (v)) < 0) | 766 | #define atomic64_add_negative(i, v) (atomic64_add_return(i, (v)) < 0) |
767 | 767 | ||
768 | #else /* !CONFIG_64BIT */ | ||
769 | |||
770 | #include <asm-generic/atomic64.h> | ||
771 | |||
772 | #endif /* CONFIG_64BIT */ | 768 | #endif /* CONFIG_64BIT */ |
773 | 769 | ||
774 | /* | 770 | /* |
@@ -780,6 +776,4 @@ static __inline__ int atomic64_add_unless(atomic64_t *v, long a, long u) | |||
780 | #define smp_mb__before_atomic_inc() smp_mb__before_llsc() | 776 | #define smp_mb__before_atomic_inc() smp_mb__before_llsc() |
781 | #define smp_mb__after_atomic_inc() smp_llsc_mb() | 777 | #define smp_mb__after_atomic_inc() smp_llsc_mb() |
782 | 778 | ||
783 | #include <asm-generic/atomic-long.h> | ||
784 | |||
785 | #endif /* _ASM_ATOMIC_H */ | 779 | #endif /* _ASM_ATOMIC_H */ |