Commit 03a22bfc authored by Michael Neuling's avatar Michael Neuling Committed by Benjamin Herrenschmidt

powerpc: Change LOAD_REG_ADDR to use real register names

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: default avatarMichael Neuling <mikey@neuling.org>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 86e32fdc
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
std r12,PACASAVEDMSR(r13); \ std r12,PACASAVEDMSR(r13); \
andc r12,r12,r0; \ andc r12,r12,r0; \
mtmsrd r12,1; \ mtmsrd r12,1; \
LOAD_REG_ADDR(R0,.opal_return); \ LOAD_REG_ADDR(r0,.opal_return); \
mtlr r0; \ mtlr r0; \
li r0,MSR_DR|MSR_IR; \ li r0,MSR_DR|MSR_IR; \
andc r12,r12,r0; \ andc r12,r12,r0; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment