Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

authored by

Michael Neuling and committed by
Benjamin Herrenschmidt
03a22bfc 86e32fdc

+1 -1
+1 -1
arch/powerpc/platforms/powernv/opal-wrappers.S
··· 32 32 std r12,PACASAVEDMSR(r13); \ 33 33 andc r12,r12,r0; \ 34 34 mtmsrd r12,1; \ 35 - LOAD_REG_ADDR(R0,.opal_return); \ 35 + LOAD_REG_ADDR(r0,.opal_return); \ 36 36 mtlr r0; \ 37 37 li r0,MSR_DR|MSR_IR; \ 38 38 andc r12,r12,r0; \