summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/powerpc/tm
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2020-08-19 04:57:22 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2020-09-08 15:23:59 +0300
commit178282a054dced1a08a9683d41ac08cbace2b2fe (patch)
treec56800b6dfff98320c9e37d84dbfbeef5124f725 /tools/testing/selftests/powerpc/tm
parentd89002397cfb2b65267d6688fe671ee1cf7c5f0d (diff)
downloadlinux-178282a054dced1a08a9683d41ac08cbace2b2fe.tar.xz
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/tm')
-rw-r--r--tools/testing/selftests/powerpc/tm/tm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/testing/selftests/powerpc/tm/tm.h b/tools/testing/selftests/powerpc/tm/tm.h
index c402464b038f..c5a1e5c163fc 100644
--- a/tools/testing/selftests/powerpc/tm/tm.h
+++ b/tools/testing/selftests/powerpc/tm/tm.h
@@ -6,9 +6,8 @@
#ifndef _SELFTESTS_POWERPC_TM_TM_H
#define _SELFTESTS_POWERPC_TM_TM_H
-#include <asm/tm.h>
-#include <asm/cputable.h>
#include <stdbool.h>
+#include <asm/tm.h>
#include "utils.h"