summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2022-09-30 13:18:43 +0200
committerWill Deacon <will@kernel.org>2022-11-07 17:16:20 +0100
commit6349a2470d07561bc25e34681985c6ff9c807dfb (patch)
tree391462fc8667872612058b49dfaf032a8ad6405c /arch/x86
parentarm_pmu: acpi: factor out PMU<->CPU association (diff)
downloadlinux-6349a2470d07561bc25e34681985c6ff9c807dfb.tar.xz
linux-6349a2470d07561bc25e34681985c6ff9c807dfb.zip
arm_pmu: factor out PMU matching
A subsequent patch will rework the ACPI probing of PMUs, and we'll need to match a CPU with a known cpuid in two separate paths. Factor out the matching logic into a helper function so that it can be reused. There should be no functional change as a result of this patch. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Cc: Pierre Gondois <pierre.gondois@arm.com> Cc: Will Deacon <will@kernel.org> Reviewed-and-tested-by: Pierre Gondois <pierre.gondois@arm.com> Link: https://lore.kernel.org/r/20220930111844.1522365-3-mark.rutland@arm.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions