Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
perf: arm_dsu: Allow IRQ to be shared among devices.
Browse files Browse the repository at this point in the history
Some DSU devices use same IRQ.

Cherry-pick from: AmpereComputing/ampere-centos-kernel---DEPRECATED@19a1b38

Signed-off-by: Tuan Phan <[email protected]>
  • Loading branch information
tphan-ampere authored and Yi Li committed Feb 4, 2021
1 parent 7655e30 commit 48b4d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/perf/arm_dsu_pmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ static int dsu_pmu_device_probe(struct platform_device *pdev)
if (!name)
return -ENOMEM;
rc = devm_request_irq(&pdev->dev, irq, dsu_pmu_handle_irq,
IRQF_NOBALANCING, name, dsu_pmu);
IRQF_NOBALANCING | IRQF_SHARED, name, dsu_pmu);
if (rc) {
dev_warn(&pdev->dev, "Failed to request IRQ %d\n", irq);
return rc;
Expand Down

0 comments on commit 48b4d60

Please sign in to comment.