MIPS: Add nudges to writes for bit unlocks.
authorChad Reese <kreese@caviumnetworks.com>
Fri, 15 Sep 2017 17:31:28 +0000 (12:31 -0500)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 9 Oct 2017 12:53:56 +0000 (14:53 +0200)
commit34ae9c915f9d12f1ddaa19a23fb3e8984e6a1098
tree3a1e3067b2d5cf36519915646c070163cbd9b778
parent508c5757a72873d007e932faff5fa0014b25812d
MIPS: Add nudges to writes for bit unlocks.

Flushing the writes lets other CPUs waiting for the lock to get it sooner.

Signed-off-by: Chad Reese <kreese@caviumnetworks.com>
Signed-off-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/17289/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/bitops.h