summaryrefslogtreecommitdiff
path: root/arch/mips/kernel
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2019-10-02 00:53:38 +0300
committerPaul Burton <paul.burton@mips.com>2019-10-07 19:43:03 +0300
commit3c1d3f0979721a39dd2980c97466127ce65aa130 (patch)
treef3d1aa153055f64249987e3478975e979078bb08 /arch/mips/kernel
parenta91f2a1dba44c29cd0d75edd8787f4469092ae8f (diff)
downloadlinux-3c1d3f0979721a39dd2980c97466127ce65aa130.tar.xz
MIPS: futex: Emit Loongson3 sync workarounds within asm
Generate the sync instructions required to workaround Loongson3 LL/SC errata within inline asm blocks, which feels a little safer than doing it from C where strictly speaking the compiler would be well within its rights to insert a memory access between the separate asm statements we previously had, containing sync & ll instructions respectively. 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')
0 files changed, 0 insertions, 0 deletions