OSDN Git Service

MIPS: barrier: Remove fast_mb() Octeon #ifdef'ery
authorPaul Burton <paul.burton@mips.com>
Tue, 1 Oct 2019 21:53:11 +0000 (21:53 +0000)
committerPaul Burton <paul.burton@mips.com>
Mon, 7 Oct 2019 16:42:21 +0000 (09:42 -0700)
commit5c12a6eff6ae3ed32f1c4d6458e58e6c4e9b2352
tree940d51fe611a67a68e06828b26b983a534da37d9
parent05e6da742b5b708057e84487576655e4d7238dd1
MIPS: barrier: Remove fast_mb() Octeon #ifdef'ery

The definition of fast_mb() is the same in both the Octeon & non-Octeon
cases, so remove the duplication & define it only once.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Cc: Huacai Chen <chenhc@lemote.com>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: linux-kernel@vger.kernel.org
arch/mips/include/asm/barrier.h