MIPS: Move identification of VP(E) into proc.c from smp-mt.c
authorMatt Redfearn <matt.redfearn@imgtec.com>
Thu, 4 Aug 2016 16:19:38 +0000 (17:19 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 16 Aug 2016 13:22:28 +0000 (15:22 +0200)
commit8ed1d76a3f6f58cdf55872a67c96427d898f5365
tree13a9d533aff0e542b211d36f204b92552d745661
parent8c99bde84aae736ab33ece4187cc01c74d50ad10
MIPS: Move identification of VP(E) into proc.c from smp-mt.c

The addition of VPE information to /proc/cpuinfo used to be in smp-mt.c.
This file is not used by MIPS r6 kernels, so the Virtual Processor
information was not present for these CPU types.

Move the code to print VPE information into proc.c, add a case for MIPS
r6 CPUS, and remove the block from smp-mt.c.

Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com>
Reviewed-by: Paul Burton <paul.burton@imgtec.com>
Cc: Qais Yousef <qsyousef@gmail.com>
Cc: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/13847/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/proc.c
arch/mips/kernel/smp-mt.c
This page took 0.025391 seconds and 5 git commands to generate.