]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - include/linux/atomic.h
locking: Remove deprecated smp_mb__() barriers
[thirdparty/linux.git] / include / linux / atomic.h
index fef3a809e7cf04e6b7a41d81685782ec029638ce..5b08a8540ecfc3e6bcb5bf8b6fbef4d19df93f55 100644 (file)
@@ -3,42 +3,6 @@
 #define _LINUX_ATOMIC_H
 #include <asm/atomic.h>
 
-/*
- * Provide __deprecated wrappers for the new interface, avoid flag day changes.
- * We need the ugly external functions to break header recursion hell.
- */
-#ifndef smp_mb__before_atomic_inc
-static inline void __deprecated smp_mb__before_atomic_inc(void)
-{
-       extern void __smp_mb__before_atomic(void);
-       __smp_mb__before_atomic();
-}
-#endif
-
-#ifndef smp_mb__after_atomic_inc
-static inline void __deprecated smp_mb__after_atomic_inc(void)
-{
-       extern void __smp_mb__after_atomic(void);
-       __smp_mb__after_atomic();
-}
-#endif
-
-#ifndef smp_mb__before_atomic_dec
-static inline void __deprecated smp_mb__before_atomic_dec(void)
-{
-       extern void __smp_mb__before_atomic(void);
-       __smp_mb__before_atomic();
-}
-#endif
-
-#ifndef smp_mb__after_atomic_dec
-static inline void __deprecated smp_mb__after_atomic_dec(void)
-{
-       extern void __smp_mb__after_atomic(void);
-       __smp_mb__after_atomic();
-}
-#endif
-
 /**
  * atomic_add_unless - add unless the number is already a given value
  * @v: pointer of type atomic_t