summaryrefslogtreecommitdiff
path: root/arch/blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-06-17 17:30:29 -0400
committerMike Frysinger <vapier@gentoo.org>2011-07-23 01:18:34 -0400
commit6ebc2bb92a35a651d0573d67664eb286505bb985 (patch)
tree2d096093b9f1ba1d2fcb68034081e3d29be3692c /arch/blackfin
parenta2de3f79b16a19b498c5591031735eb46151810a (diff)
downloadlinux-3.10-6ebc2bb92a35a651d0573d67664eb286505bb985.tar.gz
linux-3.10-6ebc2bb92a35a651d0573d67664eb286505bb985.tar.bz2
linux-3.10-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/blackfin')
-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 0cb40ce2265..4c707dbe1ff 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()