summaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2014-04-23 11:41:07 +1000
committerAnton Blanchard <anton@samba.org>2014-04-23 11:41:07 +1000
commitcec4b7eaf09d330e94e8e94133d360e6f1855974 (patch)
tree0cdc63445b8feb2ca138c6dd6d37ae39cb38daed /tools/testing
parent721aeaa9fdf35a672eef8ebdc4cd04bde38c3cea (diff)
downloadop-kernel-dev-cec4b7eaf09d330e94e8e94133d360e6f1855974.zip
op-kernel-dev-cec4b7eaf09d330e94e8e94133d360e6f1855974.tar.gz
selftests/powerpc: Update for ABIv2
Add some new definitions required to build the copyloop tests. Signed-off-by: Anton Blanchard <anton@samba.org>
Diffstat (limited to 'tools/testing')
-rw-r--r--tools/testing/selftests/powerpc/copyloops/asm/ppc_asm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/testing/selftests/powerpc/copyloops/asm/ppc_asm.h b/tools/testing/selftests/powerpc/copyloops/asm/ppc_asm.h
index ccd9c84..d1dc374 100644
--- a/tools/testing/selftests/powerpc/copyloops/asm/ppc_asm.h
+++ b/tools/testing/selftests/powerpc/copyloops/asm/ppc_asm.h
@@ -46,12 +46,15 @@
#define R20 r20
#define R21 r21
#define R22 r22
+#define R29 r29
+#define R30 r30
+#define R31 r31
#define STACKFRAMESIZE 256
-#define STK_PARAM(i) (48 + ((i)-3)*8)
#define STK_REG(i) (112 + ((i)-14)*8)
#define _GLOBAL(A) FUNC_START(test_ ## A)
+#define _GLOBAL_TOC(A) _GLOBAL(A)
#define PPC_MTOCRF(A, B) mtocrf A, B
OpenPOWER on IntegriCloud