MIPS: Branch straight to ll in mips_atomic_set()
authorJames Hogan <james.hogan@imgtec.com>
Wed, 31 May 2017 15:19:50 +0000 (16:19 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 28 Jun 2017 10:22:40 +0000 (12:22 +0200)
commit203e090ade7357101e40a3d3aad3af77653da8df
tree0bbfe0180b114216c5b0aaf0387dd4198ab8598b
parent4915e1b043d6286928207b1f6968197b50407294
MIPS: Branch straight to ll in mips_atomic_set()

Adjust the atomic loop in the MIPS_ATOMIC_SET operation of the sysmips
system call to branch straight back to the linked load rather than
jumping via a different subsection (whose purpose remains a mystery to
me).

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16150/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/syscall.c