|
@@ -36,7 +36,6 @@ static int perfcount_irq;
|
|
|
#endif
|
|
|
|
|
|
#ifdef CONFIG_MIPS_MT_SMP
|
|
|
-static int cpu_has_mipsmt_pertccounters;
|
|
|
#define WHAT (MIPS_PERFCTRL_MT_EN_VPE | \
|
|
|
M_PERFCTL_VPEID(cpu_vpe_id(¤t_cpu_data)))
|
|
|
#define vpe_id() (cpu_has_mipsmt_pertccounters ? \
|
|
@@ -326,7 +325,6 @@ static int __init mipsxx_init(void)
|
|
|
}
|
|
|
|
|
|
#ifdef CONFIG_MIPS_MT_SMP
|
|
|
- cpu_has_mipsmt_pertccounters = read_c0_config7() & (1<<19);
|
|
|
if (!cpu_has_mipsmt_pertccounters)
|
|
|
counters = counters_total_to_per_cpu(counters);
|
|
|
#endif
|