summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/powerpc/utils.h
diff options
context:
space:
mode:
authorRashmica Gupta <rashmicy@gmail.com>2015-12-23 08:49:50 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2016-05-11 14:54:12 +0300
commit2d59b3b25659463a24f05df367574d90b3cd7145 (patch)
treed553587cb9b8d7a94a1b818a78770c8c8eea4a78 /tools/testing/selftests/powerpc/utils.h
parent2513767d2255acfec707328948dcaefe887f6044 (diff)
downloadlinux-2d59b3b25659463a24f05df367574d90b3cd7145.tar.xz
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>
Diffstat (limited to 'tools/testing/selftests/powerpc/utils.h')
-rw-r--r--tools/testing/selftests/powerpc/utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/powerpc/utils.h b/tools/testing/selftests/powerpc/utils.h
index 3b370deafb62..a985cfaa535e 100644
--- a/tools/testing/selftests/powerpc/utils.h
+++ b/tools/testing/selftests/powerpc/utils.h
@@ -11,6 +11,7 @@
#include <stdint.h>
#include <stdbool.h>
#include <linux/auxvec.h>
+#include "reg.h"
/* Avoid headaches with PRI?64 - just use %ll? always */
typedef unsigned long long u64;