• M
    arm_pmu: note IRQs and PMUs per-cpu · 84b4be57
    Mark Rutland 提交于
    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: NMark Rutland <mark.rutland@arm.com>
    [will: made armpmu_count_irq_users static]
    Signed-off-by: NWill Deacon <will.deacon@arm.com>
    84b4be57
arm_pmu.h 4.6 KB