selftests/powerpc: Include asm/cputable.h from utils.h
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 19 Aug 2020 01:57:22 +0000 (11:57 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 8 Sep 2020 12:23:59 +0000 (22:23 +1000)
commit178282a054dced1a08a9683d41ac08cbace2b2fe
treec56800b6dfff98320c9e37d84dbfbeef5124f725
parentd89002397cfb2b65267d6688fe671ee1cf7c5f0d
selftests/powerpc: Include asm/cputable.h from utils.h

utils.h provides have_hwcap() and have_hwcap2() which check for a
feature bit. Those bits are defined in asm/cputable.h, so include it
in utils.h so users of utils.h don't have to do it manually.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200819015727.1977134-4-mpe@ellerman.id.au
tools/testing/selftests/powerpc/alignment/alignment_handler.c
tools/testing/selftests/powerpc/include/utils.h
tools/testing/selftests/powerpc/pmu/count_stcx_fail.c
tools/testing/selftests/powerpc/pmu/per_event_excludes.c
tools/testing/selftests/powerpc/stringloops/memcmp.c
tools/testing/selftests/powerpc/tm/tm.h