selftests/powerpc: Move pick_online_cpu() up into utils.c
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 16 Dec 2015 07:59:31 +0000 (18:59 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 16 Dec 2015 23:46:41 +0000 (10:46 +1100)
commitd1301afd71bd38b1610b391e50debf766faa84be
treeec86ca9e28aa61b7bd145538fe6e1230a0cd63d3
parent00b912b0c88e690b1662067497182454357b18b0
selftests/powerpc: Move pick_online_cpu() up into utils.c

We want to use this in another test, so make it available at the top of
the powerpc selftests tree.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/pmu/Makefile
tools/testing/selftests/powerpc/pmu/lib.c
tools/testing/selftests/powerpc/pmu/lib.h
tools/testing/selftests/powerpc/utils.c
tools/testing/selftests/powerpc/utils.h