summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-06-17 23:30:29 +0200
committerMike Frysinger <vapier@gentoo.org>2011-07-23 07:18:34 +0200
commit6ebc2bb92a35a651d0573d67664eb286505bb985 (patch)
tree2d096093b9f1ba1d2fcb68034081e3d29be3692c /arch
parentBlackfin: irqs: do not trace arch_local_{*,irq_*} functions (diff)
downloadlinux-6ebc2bb92a35a651d0573d67664eb286505bb985.tar.xz
linux-6ebc2bb92a35a651d0573d67664eb286505bb985.zip
Blackfin: SMP: punt unused atomic_test_mask helper
No one uses this func, so just punt it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/blackfin/include/asm/atomic.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/blackfin/include/asm/atomic.h b/arch/blackfin/include/asm/atomic.h
index 0cb40ce22651..4c707dbe1ff9 100644
--- a/arch/blackfin/include/asm/atomic.h
+++ b/arch/blackfin/include/asm/atomic.h
@@ -76,11 +76,6 @@ static inline void atomic_set_mask(int mask, atomic_t *v)
__raw_atomic_set_asm(&v->counter, mask);
}
-static inline int atomic_test_mask(int mask, atomic_t *v)
-{
- return __raw_atomic_test_asm(&v->counter, mask);
-}
-
/* Atomic operations are already serializing */
#define smp_mb__before_atomic_dec() barrier()
#define smp_mb__after_atomic_dec() barrier()