summaryrefslogtreecommitdiffstats
path: root/arch/mips/dec
diff options
context:
space:
mode:
authorJayachandran C <jchandra@broadcom.com>2013-06-11 14:41:36 +0000
committerRalf Baechle <ralf@linux-mips.org>2013-06-13 17:46:43 +0200
commit0e6ecc1a9aa7cbf991d9711a12cae2b4853ef718 (patch)
treef868411dd23f3621dad9efb1871345b021151f74 /arch/mips/dec
parent7777b9395b77664cb736b941f95fb8f656edd111 (diff)
downloadop-kernel-dev-0e6ecc1a9aa7cbf991d9711a12cae2b4853ef718.zip
op-kernel-dev-0e6ecc1a9aa7cbf991d9711a12cae2b4853ef718.tar.gz
MIPS: Fixup check for invalid scratch register
The invalid value for scratch register is -1, so update the checks of the form (scratch_reg > 0) to be (scratch_reg >= 0). This will fix the case in Netlogic XLP where the scratch_reg can be 0. Signed-off-by: Jayachandran C <jchandra@broadcom.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5444/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/dec')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud