summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/powerpc/stringloops/asm/ppc_asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/powerpc/stringloops/asm/ppc_asm.h')
-rw-r--r--tools/testing/selftests/powerpc/stringloops/asm/ppc_asm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/testing/selftests/powerpc/stringloops/asm/ppc_asm.h b/tools/testing/selftests/powerpc/stringloops/asm/ppc_asm.h
new file mode 100644
index 000000000000..11bece87e880
--- /dev/null
+++ b/tools/testing/selftests/powerpc/stringloops/asm/ppc_asm.h
@@ -0,0 +1,7 @@
+#include <ppc-asm.h>
+
+#ifndef r1
+#define r1 sp
+#endif
+
+#define _GLOBAL(A) FUNC_START(test_ ## A)