From: Jayachandran C Date: Tue, 11 Jun 2013 14:41:36 +0000 (+0000) Subject: MIPS: Fixup check for invalid scratch register X-Git-Tag: v3.11-rc1~14^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e6ecc1a9aa7cbf991d9711a12cae2b4853ef718;p=pandora-kernel.git 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 Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5444/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed