]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Change vrX register defines to vX to match gcc and glibc
authorAnton Blanchard <anton@samba.org>
Mon, 9 Feb 2015 22:51:22 +0000 (09:51 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 16 Mar 2015 07:32:11 +0000 (18:32 +1100)
commit6841e409c1e2a3149bba0661da5fd56ade81e268
treec008f72ced83ffd950f0920566c378b4809780cf
parent4e813428b23f3210ec3696d8097c405444662f99
powerpc: Change vrX register defines to vX to match gcc and glibc

As our various loops (copy, string, crypto etc) get more complicated,
we want to share implementations between userspace (eg glibc) and
the kernel. We also want to write userspace test harnesses to put
in tools/testing/selftest.

One gratuitous difference between userspace and the kernel is the
VMX register definitions - the kernel uses vrX whereas both gcc and
glibc use vX.

Change the kernel to match userspace.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/ppc_asm.h
arch/powerpc/include/uapi/asm/ptrace.h
arch/powerpc/kernel/tm.S
arch/powerpc/kernel/vector.S
arch/powerpc/lib/copypage_power7.S
arch/powerpc/lib/copyuser_power7.S
arch/powerpc/lib/crtsavres.S
arch/powerpc/lib/ldstfp.S
arch/powerpc/lib/memcpy_power7.S
tools/testing/selftests/powerpc/copyloops/asm/ppc_asm.h