[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20170414100156.ws4he353kpaivxyh@hirez.programming.kicks-ass.net>
Date: Fri, 14 Apr 2017 12:01:56 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: ysato@...rs.sourceforge.jp
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] h8300: Remove stale definitions
Hi,
By accident I noticed h8300 still defines
smp_mb__{before,after}_clear_bit(). Those defines have been removed from
the kernel since v3.16.
Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
---
arch/h8300/include/asm/bitops.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/arch/h8300/include/asm/bitops.h b/arch/h8300/include/asm/bitops.h
index 05999aba1d6a..97c16ddcd39a 100644
--- a/arch/h8300/include/asm/bitops.h
+++ b/arch/h8300/include/asm/bitops.h
@@ -50,12 +50,6 @@ static inline void FNAME(int nr, volatile unsigned long *addr) \
} \
}
-/*
- * clear_bit() doesn't provide any barrier for the compiler.
- */
-#define smp_mb__before_clear_bit() barrier()
-#define smp_mb__after_clear_bit() barrier()
-
H8300_GEN_BITOP(set_bit, "bset")
H8300_GEN_BITOP(clear_bit, "bclr")
H8300_GEN_BITOP(change_bit, "bnot")
Powered by blists - more mailing lists