Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81a9316a authored by Ian Maund's avatar Ian Maund
Browse files

Update calls to irq_is_per_cpu



We initially picked the irq_is_per_cpu API from a patch which had not
yet been accepted upstream. In the course of the patch being upstreamed,
the name of the API was changed from irq_is_per_cpu to irq_is_percpu.
Updating these calls to the same as what is on the remote will facilitate
code maintenance.

Change-Id: I1cac25b68ff20f219e0c01e5f6f6f006f8d269e3
Signed-off-by: default avatarIan Maund <imaund@codeaurora.org>
parent 09a8183e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -385,7 +385,7 @@ armpmu_release_hardware(struct arm_pmu *armpmu)
	if (irq <= 0)
		return;

	if (irq_is_per_cpu(irq)) {
	if (irq_is_percpu(irq)) {
		on_each_cpu(armpmu_disable_percpu_irq, &irq, 1);
		free_percpu_irq(irq, &cpu_hw_events);
	} else {
@@ -430,7 +430,7 @@ armpmu_reserve_hardware(struct arm_pmu *armpmu)
		return -ENODEV;
	}

	if (irq_is_per_cpu(irq)) {
	if (irq_is_percpu(irq)) {
		err = request_percpu_irq(irq, armpmu->handle_irq,
				"arm-pmu", &cpu_hw_events);

+1 −1
Original line number Diff line number Diff line
@@ -562,7 +562,7 @@ static int msm_wdog_dt_to_pdata(struct platform_device *pdev,
								__func__);
		return -ENXIO;
	}
	pdata->irq_ppi = irq_is_per_cpu(pdata->bark_irq);
	pdata->irq_ppi = irq_is_percpu(pdata->bark_irq);
	dump_pdata(pdata);
	return 0;
}