commit | 0e6ecc1a9aa7cbf991d9711a12cae2b4853ef718 | [log] [tgz] |
---|---|---|
author | Jayachandran C <jchandra@broadcom.com> | Tue Jun 11 14:41:36 2013 +0000 |
committer | Ralf Baechle <ralf@linux-mips.org> | Thu Jun 13 17:46:43 2013 +0200 |
tree | f868411dd23f3621dad9efb1871345b021151f74 | |
parent | 7777b9395b77664cb736b941f95fb8f656edd111 [diff] |
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>