diff options
author | Mark Rutland <mark.rutland@arm.com> | 2017-12-12 17:56:06 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-02-20 12:34:54 +0100 |
commit | 84b4be57ae17f8c0b3c1d8629e10f23910838fd7 (patch) | |
tree | 2a9a95ff4a3007a8e9ba61a057d059d562444eb8 /drivers/perf/arm_pmu_acpi.c | |
parent | arm_pmu: explicitly enable/disable SPIs at hotplug (diff) | |
download | linux-84b4be57ae17f8c0b3c1d8629e10f23910838fd7.tar.xz linux-84b4be57ae17f8c0b3c1d8629e10f23910838fd7.zip |
arm_pmu: note IRQs and PMUs per-cpu
To support ACPI systems, we need to request IRQs before we know the
associated PMU, and thus we need some percpu variable that the IRQ
handler can find the PMU from.
As we're going to request IRQs without the PMU, we can't rely on the
arm_pmu::active_irqs mask, and similarly need to track requested IRQs
with a percpu variable.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
[will: made armpmu_count_irq_users static]
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/perf/arm_pmu_acpi.c')
0 files changed, 0 insertions, 0 deletions