The patch titled h8300 atomic.h update has been added to the -mm tree. Its filename is h8300-atomich-update.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: h8300 atomic.h update From: Yoshinori Sato <ysato@xxxxxxxxxxxxxxxxxxxx> add atomic_sub_and_test define. Signed-off-by: Yoshinori Sato <ysato@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/asm-h8300/atomic.h | 1 + 1 files changed, 1 insertion(+) diff -puN include/asm-h8300/atomic.h~h8300-atomich-update include/asm-h8300/atomic.h --- a/include/asm-h8300/atomic.h~h8300-atomich-update +++ a/include/asm-h8300/atomic.h @@ -37,6 +37,7 @@ static __inline__ int atomic_sub_return( } #define atomic_sub(i, v) atomic_sub_return(i, v) +#define atomic_sub_and_test(i,v) (atomic_sub_return(i, v) == 0) static __inline__ int atomic_inc_return(atomic_t *v) { _ Patches currently in -mm which might be from ysato@xxxxxxxxxxxxxxxxxxxx are h8300-atomich-update.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