summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/powerpc/copyloops/stubs.S
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/powerpc/copyloops/stubs.S')
-rw-r--r--tools/testing/selftests/powerpc/copyloops/stubs.S19
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/testing/selftests/powerpc/copyloops/stubs.S b/tools/testing/selftests/powerpc/copyloops/stubs.S
new file mode 100644
index 000000000000..ec8bcf2bf1c2
--- /dev/null
+++ b/tools/testing/selftests/powerpc/copyloops/stubs.S
@@ -0,0 +1,19 @@
+#include <asm/ppc_asm.h>
+
+FUNC_START(enter_vmx_usercopy)
+ li r3,1
+ blr
+
+FUNC_START(exit_vmx_usercopy)
+ li r3,0
+ blr
+
+FUNC_START(enter_vmx_ops)
+ li r3,1
+ blr
+
+FUNC_START(exit_vmx_ops)
+ blr
+
+FUNC_START(__copy_tofrom_user_base)
+ blr