]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit925b74ccb748133f9fef092cb1f2e633c9efcbe3
tree0bbfe0180b114216c5b0aaf0387dd4198ab8598b
parent4bd8ff0e8f0deb08f48a31c7d88b90d8fa2ee2b0
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