Merge tag 'arc-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc
[linux-2.6-microblaze.git] / arch / arc / include / asm / smp.h
index c5de400..d856491 100644 (file)
@@ -105,7 +105,6 @@ static inline const char *arc_platform_smp_cpuinfo(void)
 #include <asm/spinlock.h>
 
 extern arch_spinlock_t smp_atomic_ops_lock;
-extern arch_spinlock_t smp_bitops_lock;
 
 #define atomic_ops_lock(flags) do {            \
        local_irq_save(flags);                  \
@@ -117,24 +116,11 @@ extern arch_spinlock_t smp_bitops_lock;
        local_irq_restore(flags);               \
 } while (0)
 
-#define bitops_lock(flags)     do {            \
-       local_irq_save(flags);                  \
-       arch_spin_lock(&smp_bitops_lock);       \
-} while (0)
-
-#define bitops_unlock(flags) do {              \
-       arch_spin_unlock(&smp_bitops_lock);     \
-       local_irq_restore(flags);               \
-} while (0)
-
 #else /* !CONFIG_SMP */
 
 #define atomic_ops_lock(flags)         local_irq_save(flags)
 #define atomic_ops_unlock(flags)       local_irq_restore(flags)
 
-#define bitops_lock(flags)             local_irq_save(flags)
-#define bitops_unlock(flags)           local_irq_restore(flags)
-
 #endif /* !CONFIG_SMP */
 
 #endif /* !CONFIG_ARC_HAS_LLSC */