diff options
author | Leonid Yegoshin <Leonid.Yegoshin@imgtec.com> | 2013-09-11 21:17:47 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-09-13 11:59:51 +0200 |
commit | 670bac3a8c201fc1f5f92ac6b4a8b42dc8172937 (patch) | |
tree | 45fd83bde9a24dd549ac05bc20b51bc1b21df769 /arch/mips/kernel/vpe.c | |
parent | MIPS: DECstation I/O ASIC DMA interrupt handling fix (diff) | |
download | linux-670bac3a8c201fc1f5f92ac6b4a8b42dc8172937.tar.xz linux-670bac3a8c201fc1f5f92ac6b4a8b42dc8172937.zip |
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 <Leonid.Yegoshin@imgtec.com>
Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5822/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/vpe.c')
0 files changed, 0 insertions, 0 deletions