coresight: making cpu index lookup arm64 compliant
authorMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 30 Mar 2015 20:13:34 +0000 (14:13 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 14:17:03 +0000 (16:17 +0200)
commit8c02a5ba34a1fae6def8cb5a39bb582f09bca49c
treec498d4dd691794fe9d314f67695c8bfa03b10e6a
parentd86fb45b5c52d8f2a3e78e81afd85a2a9d4478d7
coresight: making cpu index lookup arm64 compliant

Function "get_logical_index()" is not available on arm64.
Instead of adding the function simply using "of_get_cpu_node()" and
comparing the return value with cpu handles yields the same
result.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/coresight/of_coresight.c