Message ID | 20200928092641.2070-2-thunder.leizhen@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | ARM: decompressor: relax the loading restriction of the decompressed kernel | expand |
diff --git a/arch/arm/kernel/phys2virt.S b/arch/arm/kernel/phys2virt.S index fb53db78fe7850b..baadf2b8919a986 100644 --- a/arch/arm/kernel/phys2virt.S +++ b/arch/arm/kernel/phys2virt.S @@ -53,8 +53,8 @@ ENDPROC(__fixup_pv_table) .text __fixup_a_pv_table: adr_l r6, __pv_offset - ldr r0, [r6, #HIGH_OFFSET] @ pv_offset high word - ldr r6, [r6, #LOW_OFFSET] @ pv_offset low word + ldr r0, [r6, #HIGH_OFFSET] @ __pv_offset high word + ldr r6, [r6, #LOW_OFFSET] @ __pv_offset low word cmn r0, #1 #ifdef CONFIG_THUMB2_KERNEL @
Change pv_offset to __pv_offset. Fixes: f52bb722547f ("ARM: mm: Correct virt_to_phys patching for 64 bit physical addresses") Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> --- arch/arm/kernel/phys2virt.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)