summaryrefslogtreecommitdiff
path: root/mm/memremap.c
diff options
context:
space:
mode:
authorJulien Thierry <julien.thierry@arm.com>2020-09-24 12:07:05 +0100
committerWill Deacon <will@kernel.org>2020-09-28 19:00:17 +0100
commitf76b130bdb8949eac002b8e0ddb85576ed137838 (patch)
tree887167dc1c07521340b6825804bb13c63bf36a3b /mm/memremap.c
parent95e92e45a454a10a8114294d0f7aec930fb85891 (diff)
arm_pmu: Introduce pmu_irq_ops
Currently the PMU interrupt can either be a normal irq or a percpu irq. Supporting NMI will introduce two cases for each existing one. It becomes a mess of 'if's when managing the interrupt. Define sets of callbacks for operations commonly done on the interrupt. The appropriate set of callbacks is selected at interrupt request time and simplifies interrupt enabling/disabling and freeing. Signed-off-by: Julien Thierry <julien.thierry@arm.com> Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com> Tested-by: Sumit Garg <sumit.garg@linaro.org> (Developerbox) Cc: Julien Thierry <julien.thierry.kdev@gmail.com> Cc: Will Deacon <will.deacon@arm.com> Cc: Mark Rutland <mark.rutland@arm.com> Link: https://lore.kernel.org/r/20200924110706.254996-7-alexandru.elisei@arm.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'mm/memremap.c')
0 files changed, 0 insertions, 0 deletions