The patch titled Blackfin: SMP: punt unused atomic_test_mask helper has been added to the -mm tree. Its filename is blackfin-smp-punt-unused-atomic_test_mask-helper.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: Blackfin: SMP: punt unused atomic_test_mask helper From: Mike Frysinger <vapier@xxxxxxxxxx> No one uses this func, so just punt it. Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx> Cc: Arun Sharma <asharma@xxxxxx> Cc: Arnd Bergmann <arnd@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/blackfin/include/asm/atomic.h | 5 ----- 1 file changed, 5 deletions(-) diff -puN arch/blackfin/include/asm/atomic.h~blackfin-smp-punt-unused-atomic_test_mask-helper arch/blackfin/include/asm/atomic.h --- a/arch/blackfin/include/asm/atomic.h~blackfin-smp-punt-unused-atomic_test_mask-helper +++ a/arch/blackfin/include/asm/atomic.h @@ -76,11 +76,6 @@ static inline void atomic_set_mask(int m __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() _ Patches currently in -mm which might be from vapier@xxxxxxxxxx are mm-nommuc-fix-remap_pfn_range.patch linux-next.patch asm-generic-systemh-drop-useless-__kernel__.patch ptrace-unify-show_regs-prototype.patch ptrace-unify-show_regs-prototype-fix.patch atomic-use-linux-atomich.patch atomic-move-atomic_add_unless-to-generic-code.patch atomic-cleanup-asm-generic-atomich-inclusion.patch atomic-update-comments-in-atomich.patch asm-generic-atomich-simplify-inc-dec-test-helpers.patch asm-generic-atomich-fix-type-used-in-atomic_clear_mask.patch asm-generic-atomich-add-atomic_set_mask-helper.patch asm-generic-atomich-allow-smp-peeps-to-leverage-this.patch blackfin-smp-punt-unused-atomic_test_mask-helper.patch blackfin-smp-convert-to-common-asm-generic-atomich.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html