aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mips/kernel/proc.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/mips/kernel/proc.c b/arch/mips/kernel/proc.c
index 8c58d8a84bf3..db49bfafa329 100644
--- a/arch/mips/kernel/proc.c
+++ b/arch/mips/kernel/proc.c
@@ -107,7 +107,14 @@ static int show_cpuinfo(struct seq_file *m, void *v)
107 seq_printf(m, "kscratch registers\t: %d\n", 107 seq_printf(m, "kscratch registers\t: %d\n",
108 hweight8(cpu_data[n].kscratch_mask)); 108 hweight8(cpu_data[n].kscratch_mask));
109 seq_printf(m, "core\t\t\t: %d\n", cpu_data[n].core); 109 seq_printf(m, "core\t\t\t: %d\n", cpu_data[n].core);
110 110#if defined(CONFIG_MIPS_MT_SMP) || defined(CONFIG_MIPS_MT_SMTC)
111 if (cpu_has_mipsmt) {
112 seq_printf(m, "VPE\t\t\t: %d\n", cpu_data[n].vpe_id);
113#if defined(CONFIG_MIPS_MT_SMTC)
114 seq_printf(m, "TC\t\t\t: %d\n", cpu_data[n].tc_id);
115#endif
116 }
117#endif
111 sprintf(fmt, "VCE%%c exceptions\t\t: %s\n", 118 sprintf(fmt, "VCE%%c exceptions\t\t: %s\n",
112 cpu_has_vce ? "%u" : "not available"); 119 cpu_has_vce ? "%u" : "not available");
113 seq_printf(m, fmt, 'D', vced_count); 120 seq_printf(m, fmt, 'D', vced_count);