diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2017-08-14 21:42:43 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-08-15 14:04:32 +0300 |
commit | 6c80d3164ece26e55dc2dbfceba948d074f670f0 (patch) | |
tree | 1c8dccc0162d55ff420698f4163196d443694073 /arch/powerpc/kernel/l2cr_6xx.S | |
parent | 63b85621d9aa6bdc410f01b22f7821cea3d7bdc6 (diff) | |
download | linux-6c80d3164ece26e55dc2dbfceba948d074f670f0.tar.xz |
powerpc/l2cr_6xx: Fix invalid use of register expressions
This fixes another invalid use of register expressions.
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/l2cr_6xx.S')
-rw-r--r-- | arch/powerpc/kernel/l2cr_6xx.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/l2cr_6xx.S b/arch/powerpc/kernel/l2cr_6xx.S index 97ec8557f974..6408f09dbbd9 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 |