summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/r4k_fpu.S
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2014-03-27 10:57:01 +0000
committerRalf Baechle <ralf@linux-mips.org>2014-03-31 18:17:12 +0200
commit968a0734db05ad907bc8fffabdbe7da5e1e731f6 (patch)
tree61a4dcad59737a6c23c841489edfe3c46b296846 /arch/mips/kernel/r4k_fpu.S
parentd94c90f8050e1e7d46a4217909af106a08dd31ea (diff)
downloadop-kernel-dev-968a0734db05ad907bc8fffabdbe7da5e1e731f6.zip
op-kernel-dev-968a0734db05ad907bc8fffabdbe7da5e1e731f6.tar.gz
MIPS: MT: core_nvpes function to retrieve VPE count
This function simply returns the number of VPEs present in the current core, or 1 if the core does not implement the MT ASE. In SMP kernels this will typically equal smp_num_siblings, however it will also be usable in UP kernels and helps prepare for the possibility of a heterogenous system where the VPE count is not the same across all cores. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/6665/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/r4k_fpu.S')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud