OSDN Git Service

arm_pmu: Use of_cpu_node_to_id helper
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Tue, 2 Jan 2018 11:25:31 +0000 (11:25 +0000)
committerWill Deacon <will.deacon@arm.com>
Tue, 2 Jan 2018 16:43:12 +0000 (16:43 +0000)
commit66582787314ed0bd1dcac3f7a2b98ff71f3fb653
tree93b89e1fd0c657896cc4e489ee2547d79c142006
parent52cac1103af3283c7e4386b796da9cc92c3320e0
arm_pmu: Use of_cpu_node_to_id helper

Use the new generic helper, of_cpu_node_to_id(), to map a
a phandle to the logical CPU number while parsing the
PMU irq affinity.

Cc: Will Deacon <will.deacon@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/perf/arm_pmu_platform.c