|
@@ -763,7 +763,7 @@ static int p4_pmu_schedule_events(struct cpu_hw_events *cpuc, int n, int *assign
|
|
|
{
|
|
|
unsigned long used_mask[BITS_TO_LONGS(X86_PMC_IDX_MAX)];
|
|
|
unsigned long escr_mask[BITS_TO_LONGS(P4_ESCR_MSR_TABLE_SIZE)];
|
|
|
- int cpu = raw_smp_processor_id();
|
|
|
+ int cpu = smp_processor_id();
|
|
|
struct hw_perf_event *hwc;
|
|
|
struct p4_event_bind *bind;
|
|
|
unsigned int i, thread, num;
|