From: Leonid Yegoshin Date: Wed, 11 Sep 2013 19:17:47 +0000 (-0500) Subject: MIPS: Fix SMP core calculations when using MT support. X-Git-Tag: v3.12-rc1~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=670bac3a8c201fc1f5f92ac6b4a8b42dc8172937;p=pandora-kernel.git MIPS: Fix SMP core calculations when using MT support. The TCBIND register is only available if the core has MT support. It should not be read otherwise. Secondly, the number of TCs (siblings) are calculated differently depending on if the kernel is configured as SMVP or SMTC. Signed-off-by: Leonid Yegoshin Signed-off-by: Steven J. Hill Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5822/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed