[PATCH v2 5/6] MIPS: perf: Fold vpe_id() macro into it's one last usage

2018-04-12 Thread Matt Redfearn
The vpe_id() macro is now used only in mipsxx_pmu_enable_event when CONFIG_CPU_BMIPS5000 is defined. Fold the one used definition of the macro into it's usage and remove the now unused definitions. Since we know that cpu_has_mipsmt_pertccounters == 0 on BMIPS5000, remove the test on it and just

[PATCH v2 5/6] MIPS: perf: Fold vpe_id() macro into it's one last usage

2018-04-12 Thread Matt Redfearn
The vpe_id() macro is now used only in mipsxx_pmu_enable_event when CONFIG_CPU_BMIPS5000 is defined. Fold the one used definition of the macro into it's usage and remove the now unused definitions. Since we know that cpu_has_mipsmt_pertccounters == 0 on BMIPS5000, remove the test on it and just