The patch titled m32r: Fix "value computed not used" warnings has been removed from the -mm tree. Its filename is m32r-fix-value-computed-not-used-warnings.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: m32r: Fix "value computed not used" warnings From: Hirokazu Takata <takata@xxxxxxxxxxxxxx> Fix to remove annoying gcc-4.1 warnings "value computed not used" for m32r; Modify set_mb to cast to void for SMP. Signed-off-by: Hirokazu Takata <takata@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- include/asm-m32r/system.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN include/asm-m32r/system.h~m32r-fix-value-computed-not-used-warnings include/asm-m32r/system.h --- a/include/asm-m32r/system.h~m32r-fix-value-computed-not-used-warnings +++ a/include/asm-m32r/system.h @@ -328,15 +328,15 @@ __cmpxchg(volatile void *ptr, unsigned l #define smp_rmb() rmb() #define smp_wmb() wmb() #define smp_read_barrier_depends() read_barrier_depends() +#define set_mb(var, value) do { (void) xchg(&var, value); } while (0) #else #define smp_mb() barrier() #define smp_rmb() barrier() #define smp_wmb() barrier() #define smp_read_barrier_depends() do { } while (0) +#define set_mb(var, value) do { var = value; barrier(); } while (0) #endif -#define set_mb(var, value) do { xchg(&var, value); } while (0) - #define arch_align_stack(x) (x) #endif /* _ASM_M32R_SYSTEM_H */ _ Patches currently in -mm which might be from takata@xxxxxxxxxxxxxx are origin.patch git-serial.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