OSDN Git Service

powerpc: Start using ___PPC_RA/B/S/T where necessary
authorMichael Neuling <mikey@neuling.org>
Mon, 25 Jun 2012 13:33:21 +0000 (13:33 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 10 Jul 2012 09:18:25 +0000 (19:18 +1000)
commitcdaade71291e90d8e9cc8885ae5ebc20ed4ddfd8
treea8f1f9ac62f72bf0c1297f97a87f8511a2c19a99
parent55a5db184667433add3c8136c9e3b27899c79d3c
powerpc: Start using ___PPC_RA/B/S/T where necessary

Now have ___PPC_RA/B/S/T we can use it in some places.  These are
places where we can't use the existing defines which will soon enforce
R0-R31 usage.

The macros being changed here are being used in inline asm, which
can't convert to enforce the R0-R31 usage.

bpf_jit uses a mix of both generated and non-generated with the same
code, so just convert all these to use the ___PPC_R versions which
won't enforce R usage later.

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/net/bpf_jit.h