powerpc: Enforce usage of RA 0-R31 where possible
authorMichael Neuling <mikey@neuling.org>
Mon, 25 Jun 2012 13:33:25 +0000 (13:33 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 10 Jul 2012 09:18:35 +0000 (19:18 +1000)
commit962cffbd8a21ad380ec71a6f5ea55a8e08f32dd1
tree378842a721bfd35cc54bd94e1a26d499c6fb43ac
parentf4c015795c74ec31b7ad0b8e11d07946fe853db4
powerpc: Enforce usage of RA 0-R31 where possible

Some macros use RA where when RA=R0 the values is 0, so make this
the enforced mnemonic in the macro.

Idea suggested by Andreas Schwab.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/ppc-opcode.h
arch/powerpc/kernel/cpu_setup_a2.S
arch/powerpc/kernel/exceptions-64e.S
arch/powerpc/mm/tlb_low_64e.S
arch/powerpc/mm/tlb_nohash_low.S