powerpc: Change LOAD_REG_ADDR to use real register names
authorMichael Neuling <mikey@neuling.org>
Mon, 25 Jun 2012 13:33:17 +0000 (13:33 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 10 Jul 2012 09:18:14 +0000 (19:18 +1000)
LOAD_REG_ADDR define is just a wrapper around real instructions so we
can just use real register names here (ie. lower case).

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/opal-wrappers.S

index afcddec5d3a1f07dce4ef9768a3783bc9fa1c8ca..3bb07e5e43cdc24f64ce70716a1530431f067cd5 100644 (file)
@@ -32,7 +32,7 @@
        std     r12,PACASAVEDMSR(r13);  \
        andc    r12,r12,r0;             \
        mtmsrd  r12,1;                  \
-       LOAD_REG_ADDR(R0,.opal_return); \
+       LOAD_REG_ADDR(r0,.opal_return); \
        mtlr    r0;                     \
        li      r0,MSR_DR|MSR_IR;       \
        andc    r12,r12,r0;             \