|
@@ -795,8 +795,10 @@ static int of_pmu_irq_cfg(struct arm_pmu *pmu)
|
|
|
|
|
|
/* Don't bother with PPIs; they're already affine */
|
|
|
irq = platform_get_irq(pdev, 0);
|
|
|
- if (irq >= 0 && irq_is_percpu(irq))
|
|
|
+ if (irq >= 0 && irq_is_percpu(irq)) {
|
|
|
+ cpumask_setall(&pmu->supported_cpus);
|
|
|
return 0;
|
|
|
+ }
|
|
|
|
|
|
irqs = kcalloc(pdev->num_resources, sizeof(*irqs), GFP_KERNEL);
|
|
|
if (!irqs)
|