[PATCH 1/2] ARM: p2v: fix trivial comments

Zhen Lei thunder.leizhen at huawei.com
Mon Sep 28 05:26:40 EDT 2020


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 at 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





More information about the linux-arm-kernel mailing list