Hi Suzuki,
On Fri, Oct 06, 2017 at 11:36:07AM +0100, Suzuki K Poulose wrote:
Reuse the new generic helper, of_cpu_node_to_id() to map a
given CPU phandle to a logical CPU number.
Cc: Leo Yan <leo.yan@xxxxxxxxxx>
Acked-by: Mathieu Poirier <mathieu.poirier@xxxxxxxxxx>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>
Tested-by: Leo Yan <leo.yan@xxxxxxxxxx>
BTW, I think the function get_cpu_for_node() in the file
arch/arm64/kernel/topology.c we also can refactor with the same
function, just reminding for this.