summaryrefslogtreecommitdiff
path: root/include/linux/perf/arm_pmu.h
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2017-12-12 16:56:06 +0000
committerWill Deacon <will.deacon@arm.com>2018-02-20 11:34:54 +0000
commit84b4be57ae17f8c0b3c1d8629e10f23910838fd7 (patch)
tree2a9a95ff4a3007a8e9ba61a057d059d562444eb8 /include/linux/perf/arm_pmu.h
parent6de3f79112cc26bf24edbb240248d21e1dd85dde (diff)
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 'include/linux/perf/arm_pmu.h')
-rw-r--r--include/linux/perf/arm_pmu.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/perf/arm_pmu.h b/include/linux/perf/arm_pmu.h
index 1f8bb83ef42f..feec9e7e85db 100644
--- a/include/linux/perf/arm_pmu.h
+++ b/include/linux/perf/arm_pmu.h
@@ -75,7 +75,6 @@ enum armpmu_attr_groups {
struct arm_pmu {
struct pmu pmu;
- cpumask_t active_irqs;
cpumask_t supported_cpus;
char *name;
irqreturn_t (*handle_irq)(int irq_num, void *dev);