diff options
author | Paul Burton <paul.burton@mips.com> | 2019-10-02 00:53:41 +0300 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-10-07 19:43:08 +0300 |
commit | ae4cd0b1a4756344cb99c0004d156b585cf9e907 (patch) | |
tree | a14701a3331856a7b482b571a7861b64466006db /arch/mips/kernel/genex.S | |
parent | 7f56b123548142fd48b2c6891977e8fda695a838 (diff) | |
download | linux-ae4cd0b1a4756344cb99c0004d156b585cf9e907.tar.xz |
MIPS: barrier: Make __smp_mb__before_atomic() a no-op for Loongson3
Loongson3 systems with CONFIG_CPU_LOONGSON3_WORKAROUNDS enabled already
emit a full completion barrier as part of the inline assembly containing
LL/SC loops for atomic operations. As such the barrier emitted by
__smp_mb__before_atomic() is redundant, and we can remove it.
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
Diffstat (limited to 'arch/mips/kernel/genex.S')
0 files changed, 0 insertions, 0 deletions