powerpc: Adjust base and index registers in Altivec macros
authorMichael Wolf <mjw@linux.vnet.ibm.com>
Thu, 20 Aug 2009 13:21:45 +0000 (13:21 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 28 Aug 2009 04:24:12 +0000 (14:24 +1000)
commit23e55f92d4fd733365dd572ea6e9e211387123c2
treec0c487b58f243e5fa1a6d28365466507145e3f25
parente3e1d15855206c85f4c9ed82746e81acfe13e5aa
powerpc: Adjust base and index registers in Altivec macros

On POWER6 systems RA needs to be the base and RB the index.
If they are reversed you take a misdirect hit.

Signed-off-by: Mike Wolf <mjwolf@us.ibm.com>
----
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/ppc_asm.h