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

Commit d8fb972f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "perf: arm: fix IRQ initializations in the driver" into msm-4.14

parents a8cbba84 3cc1fda1
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -915,6 +915,9 @@ struct arm_pmu *armpmu_alloc(void)
		events->percpu_pmu = pmu;
	}

	pmu->pmu_state  = ARM_PMU_STATE_OFF;
	pmu->percpu_irq = -1;

	return pmu;

out_free_pmu:
@@ -944,9 +947,6 @@ int armpmu_register(struct arm_pmu *pmu)
	if (!__oprofile_cpu_pmu)
		__oprofile_cpu_pmu = pmu;

	pmu->pmu_state  = ARM_PMU_STATE_OFF;
	pmu->percpu_irq = -1;

	pr_info("enabled with %s PMU driver, %d counters available\n",
		pmu->name, pmu->num_events);