projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2de3f7
)
Blackfin: SMP: punt unused atomic_test_mask helper
author
Mike Frysinger
<vapier@gentoo.org>
Fri, 17 Jun 2011 21:30:29 +0000
(17:30 -0400)
committer
Mike Frysinger
<vapier@gentoo.org>
Sat, 23 Jul 2011 05:18:34 +0000
(
01:18
-0400)
No one uses this func, so just punt it.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/atomic.h
patch
|
blob
|
history
diff --git
a/arch/blackfin/include/asm/atomic.h
b/arch/blackfin/include/asm/atomic.h
index 0cb40ce2265101a6a38cec0a985cf0ada6ba25c1..4c707dbe1ff9f64643822094eb9d7f09a1b30885 100644
(file)
--- 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()