diff options
author | Mark Rutland <[email protected]> | 2022-09-30 12:18:43 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2022-11-07 16:16:20 +0000 |
commit | 6349a2470d07561bc25e34681985c6ff9c807dfb (patch) | |
tree | 391462fc8667872612058b49dfaf032a8ad6405c /lib/mpi/mpi-sub-ui.c | |
parent | ad51b5043bb39e0d715e8ad910fa5ac899ebc70b (diff) |
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 <[email protected]>
Cc: Pierre Gondois <[email protected]>
Cc: Will Deacon <[email protected]>
Reviewed-and-tested-by: Pierre Gondois <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions