]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Change vsrX register defines to vsX to match gcc and glibc
authorAnton Blanchard <anton@samba.org>
Mon, 9 Feb 2015 22:51:23 +0000 (09:51 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 16 Mar 2015 07:32:11 +0000 (18:32 +1100)
commite02963dd8da07aa2eeedefa0d2ebffb179b1dbc9
tree860590006ef216fea10aac4d2608eafb3a6113ec
parent5599e8403ac2b4771543b7209106fdbb45865008
powerpc: Change vsrX register defines to vsX 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
VSX register definitions - the kernel uses vsrX whereas gcc uses
vsX.

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/lib/ldstfp.S