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.leiz...@huawei.com>
---
 arch/arm/kernel/phys2virt.S | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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
        @
-- 
1.8.3


Reply via email to