aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/head.S
diff options
context:
space:
mode:
authorDong Aisheng <aisheng.dong@nxp.com>2021-05-18 18:14:04 +0800
committerWill Deacon <will@kernel.org>2021-06-15 19:05:28 +0100
commitf91671b5418bde81a7ce6bb2e9f3f4d41184b77c (patch)
tree01c9cc0aad6fd90a74e165b15a1f275b0d6b9b0e /arch/arm64/kernel/head.S
parentarm64: mm: fix the count comments in compute_indices (diff)
downloadlinux-dev-f91671b5418bde81a7ce6bb2e9f3f4d41184b77c.tar.xz
linux-dev-f91671b5418bde81a7ce6bb2e9f3f4d41184b77c.zip
arm64: mm: drop unused __pa(__idmap_text_start)
x5 is not used in the following map_memory. Instead, __pa(__idmap_text_start) is stored in x3 which is used later. Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Link: https://lore.kernel.org/r/20210518101405.1048860-4-aisheng.dong@nxp.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/kernel/head.S')
-rw-r--r--arch/arm64/kernel/head.S1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/kernel/head.S b/arch/arm64/kernel/head.S
index b70db34458ec..d266b4c6287d 100644
--- a/arch/arm64/kernel/head.S
+++ b/arch/arm64/kernel/head.S
@@ -354,7 +354,6 @@ SYM_FUNC_START_LOCAL(__create_page_tables)
#endif
1:
ldr_l x4, idmap_ptrs_per_pgd
- mov x5, x3 // __pa(__idmap_text_start)
adr_l x6, __idmap_text_end // __pa(__idmap_text_end)
map_memory x0, x1, x3, x6, x7, x3, x4, x10, x11, x12, x13, x14