]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit47fd9153c91ca571f6302e4d17cfdce453c1c541
treea8f1f9ac62f72bf0c1297f97a87f8511a2c19a99
parentb99f0e869f942a9c3a8254726beef022151d93fe
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