We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 097469a commit 597704eCopy full SHA for 597704e
drivers/perf/arm-cmn.c
@@ -2551,6 +2551,7 @@ static int arm_cmn_probe(struct platform_device *pdev)
2551
2552
cmn->dev = &pdev->dev;
2553
cmn->part = (unsigned long)device_get_match_data(cmn->dev);
2554
+ cmn->cpu = cpumask_local_spread(0, dev_to_node(cmn->dev));
2555
platform_set_drvdata(pdev, cmn);
2556
2557
if (cmn->part == PART_CMN600 && has_acpi_companion(cmn->dev)) {
@@ -2578,7 +2579,6 @@ static int arm_cmn_probe(struct platform_device *pdev)
2578
2579
if (err)
2580
return err;
2581
- cmn->cpu = cpumask_local_spread(0, dev_to_node(cmn->dev));
2582
cmn->pmu = (struct pmu) {
2583
.module = THIS_MODULE,
2584
.parent = cmn->dev,
0 commit comments