summaryrefslogtreecommitdiffstats
path: root/arch/mips/configs/lasat_defconfig
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2017-06-09 17:26:39 -0700
committerRalf Baechle <ralf@linux-mips.org>2017-06-29 02:42:25 +0200
commitb70eb30056dc84568f3d32440d9be6a558025843 (patch)
tree2e0ab36189d3eb6dbf5bbb995b9aa7bf896a6e0f /arch/mips/configs/lasat_defconfig
parent8263db4d7768448cb06adbbdd14c613a1ea09830 (diff)
downloadop-kernel-dev-b70eb30056dc84568f3d32440d9be6a558025843.zip
op-kernel-dev-b70eb30056dc84568f3d32440d9be6a558025843.tar.gz
MIPS: cmpxchg: Implement 1 byte & 2 byte xchg()
Implement 1 & 2 byte xchg() using read-modify-write atop a 4 byte cmpxchg(). This allows us to support these atomic operations despite the MIPS ISA only providing for 4 & 8 byte atomic operations. This is required in order to support queued spinlocks (qspinlock) in a later patch, since these make use of a 2 byte xchg() in their slow path. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/16354/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/configs/lasat_defconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud