]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: asm: spinlock: Fix addiu instruction for R10000_LLSC_WAR case
authorMarkos Chandras <markos.chandras@imgtec.com>
Tue, 3 Mar 2015 18:48:48 +0000 (18:48 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 25 Mar 2015 12:48:12 +0000 (13:48 +0100)
commita1eab6b36e15c6d1d059ec318af107d6b0ff1a59
tree2b69145b1bb9f02accfac54620dfb1fea0a8e961
parent34fca14bf3d3c0f09f84bf3283505996c99d277d
MIPS: asm: spinlock: Fix addiu instruction for R10000_LLSC_WAR case

Commit 5753762cbd1c("MIPS: asm: spinlock: Replace "sub" instruction
with "addiu") replaced the "sub" instruction with addiu but it did
not update the immediate value in the R10000_LLSC_WAR case.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Fixes: 5753762cbd1c("MIPS: asm: spinlock: Replace "sub" instruction with "addiu"")
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9385/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/spinlock.h