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)
commitc2ce6f9f3dc00daca5714ef070a9a2d4e78eb336
treec008f72ced83ffd950f0920566c378b4809780cf
parent06e5801b8cb3fc057d88cb4dc03c0b64b2744cda
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