From 670bac3a8c201fc1f5f92ac6b4a8b42dc8172937 Mon Sep 17 00:00:00 2001 From: Leonid Yegoshin Date: Wed, 11 Sep 2013 14:17:47 -0500 Subject: [PATCH] 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-format-patch failed