diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2020-08-19 11:57:22 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-09-08 22:23:59 +1000 |
commit | 178282a054dced1a08a9683d41ac08cbace2b2fe (patch) | |
tree | c56800b6dfff98320c9e37d84dbfbeef5124f725 /tools/testing/selftests/powerpc/alignment | |
parent | selftests/powerpc: Move set_dscr() into rfi_flush.c (diff) | |
download | linux-dev-178282a054dced1a08a9683d41ac08cbace2b2fe.tar.xz linux-dev-178282a054dced1a08a9683d41ac08cbace2b2fe.zip |
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
Diffstat (limited to 'tools/testing/selftests/powerpc/alignment')
-rw-r--r-- | tools/testing/selftests/powerpc/alignment/alignment_handler.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/testing/selftests/powerpc/alignment/alignment_handler.c b/tools/testing/selftests/powerpc/alignment/alignment_handler.c index 55ef15184057..e4063eba4a5b 100644 --- a/tools/testing/selftests/powerpc/alignment/alignment_handler.c +++ b/tools/testing/selftests/powerpc/alignment/alignment_handler.c @@ -55,8 +55,6 @@ #include <setjmp.h> #include <signal.h> -#include <asm/cputable.h> - #include "utils.h" #include "instructions.h" |