Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests/powerpc: Update for ABIv2

Add some new definitions required to build the copyloop tests.

Signed-off-by: Anton Blanchard <anton@samba.org>

+4 -1
+4 -1
tools/testing/selftests/powerpc/copyloops/asm/ppc_asm.h
··· 46 46 #define R20 r20 47 47 #define R21 r21 48 48 #define R22 r22 49 + #define R29 r29 50 + #define R30 r30 51 + #define R31 r31 49 52 50 53 #define STACKFRAMESIZE 256 51 - #define STK_PARAM(i) (48 + ((i)-3)*8) 52 54 #define STK_REG(i) (112 + ((i)-14)*8) 53 55 54 56 #define _GLOBAL(A) FUNC_START(test_ ## A) 57 + #define _GLOBAL_TOC(A) _GLOBAL(A) 55 58 56 59 #define PPC_MTOCRF(A, B) mtocrf A, B 57 60