diff options
author | Paul Burton <paul.burton@mips.com> | 2019-10-01 21:53:39 +0000 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-10-07 09:43:05 -0700 |
commit | e84957e6ae043bb83ad6ae7e949a1ce97b6bbfef (patch) | |
tree | 362a1ddeb8bf9224c737e9c5f21284595a9abaf8 /arch/um/os-Linux/mem.c | |
parent | 3c1d3f0979721a39dd2980c97466127ce65aa130 (diff) |
MIPS: syscall: 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/um/os-Linux/mem.c')
0 files changed, 0 insertions, 0 deletions