diff options
author | Michael Ellerman <[email protected]> | 2020-08-19 11:57:22 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2020-09-08 22:23:59 +1000 |
commit | 178282a054dced1a08a9683d41ac08cbace2b2fe (patch) | |
tree | c56800b6dfff98320c9e37d84dbfbeef5124f725 /tools/testing/selftests/powerpc/stringloops/memcmp.c | |
parent | d89002397cfb2b65267d6688fe671ee1cf7c5f0d (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/powerpc/stringloops/memcmp.c')
-rw-r--r-- | tools/testing/selftests/powerpc/stringloops/memcmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/powerpc/stringloops/memcmp.c b/tools/testing/selftests/powerpc/stringloops/memcmp.c index 979df3d98368..cb2f18855c8d 100644 --- a/tools/testing/selftests/powerpc/stringloops/memcmp.c +++ b/tools/testing/selftests/powerpc/stringloops/memcmp.c @@ -4,7 +4,7 @@ #include <string.h> #include <sys/mman.h> #include <time.h> -#include <asm/cputable.h> + #include "utils.h" #define SIZE 256 |