summaryrefslogtreecommitdiffstats
path: root/kernel/tools/testing/selftests/powerpc/stringloops/asm
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/tools/testing/selftests/powerpc/stringloops/asm')
-rw-r--r--kernel/tools/testing/selftests/powerpc/stringloops/asm/ppc_asm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/tools/testing/selftests/powerpc/stringloops/asm/ppc_asm.h b/kernel/tools/testing/selftests/powerpc/stringloops/asm/ppc_asm.h
new file mode 100644
index 000000000..11bece87e
--- /dev/null
+++ b/kernel/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)