Message ID | 87h8xat2ho.fsf@linux-m68k.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 6c80d3164ece26e55dc2dbfceba948d074f670f0 |
Headers | show |
On Mon, 2017-08-14 at 18:42:43 UTC, Andreas Schwab wrote: > This fixes another invalid use of register expressions. > > Signed-off-by: Andreas Schwab <schwab@linux-m68k.org> Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/6c80d3164ece26e55dc2dbfceba948 cheers
diff --git a/arch/powerpc/kernel/l2cr_6xx.S b/arch/powerpc/kernel/l2cr_6xx.S index 97ec8557f9..6408f09dbb 100644 --- a/arch/powerpc/kernel/l2cr_6xx.S +++ b/arch/powerpc/kernel/l2cr_6xx.S @@ -181,7 +181,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_SPEC7450) mtctr r4 li r4,0 1: - lwzx r0,r0,r4 + lwzx r0,0,r4 addi r4,r4,32 /* Go to start of next cache line */ bdnz 1b isync @@ -328,7 +328,7 @@ END_FTR_SECTION_IFCLR(CPU_FTR_L3CR) mtctr r4 li r4,0 1: - lwzx r0,r0,r4 + lwzx r0,0,r4 dcbf 0,r4 addi r4,r4,32 /* Go to start of next cache line */ bdnz 1b
This fixes another invalid use of register expressions. Signed-off-by: Andreas Schwab <schwab@linux-m68k.org> --- arch/powerpc/kernel/l2cr_6xx.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)