|
@@ -139,13 +139,8 @@ static DEFINE_RWLOCK(pmuint_rwlock);
|
|
|
* FIXME: For VSMP, vpe_id() is redefined for Perf-events, because
|
|
|
* cpu_data[cpuid].vpe_id reports 0 for _both_ CPUs.
|
|
|
*/
|
|
|
-#if defined(CONFIG_HW_PERF_EVENTS)
|
|
|
#define vpe_id() (cpu_has_mipsmt_pertccounters ? \
|
|
|
0 : smp_processor_id())
|
|
|
-#else
|
|
|
-#define vpe_id() (cpu_has_mipsmt_pertccounters ? \
|
|
|
- 0 : cpu_data[smp_processor_id()].vpe_id)
|
|
|
-#endif
|
|
|
|
|
|
/* Copied from op_model_mipsxx.c */
|
|
|
static unsigned int vpe_shift(void)
|