selftests/powerpc: Make reg.h common to all powerpc selftests
authorRashmica Gupta <rashmicy@gmail.com>
Wed, 23 Dec 2015 05:49:50 +0000 (16:49 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 11 May 2016 11:54:12 +0000 (21:54 +1000)
commit2d59b3b25659463a24f05df367574d90b3cd7145
treed553587cb9b8d7a94a1b818a78770c8c8eea4a78
parent2513767d2255acfec707328948dcaefe887f6044
selftests/powerpc: Make reg.h common to all powerpc selftests

Currently there is a reg.h in pmu/ebb that has defines that are useful
in other powerpc selftests so move this up into selftests/powerpc
folder. Also include in utils.h - as this is often used in self tests.
Add in some other useful register defines.

Signed-off-by: Rashmica Gupta <rashmicy@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/pmu/ebb/ebb.c
tools/testing/selftests/powerpc/pmu/ebb/reg.h [deleted file]
tools/testing/selftests/powerpc/pmu/ebb/reg_access_test.c
tools/testing/selftests/powerpc/reg.h [new file with mode: 0644]
tools/testing/selftests/powerpc/utils.h