aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mm/idmap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mm/idmap.c b/arch/arm/mm/idmap.c
index c0a1e48f6733..8e0e52eb76b5 100644
--- a/arch/arm/mm/idmap.c
+++ b/arch/arm/mm/idmap.c
@@ -70,6 +70,7 @@ static void identity_mapping_add(pgd_t *pgd, const char *text_start,
70 70
71 addr = virt_to_idmap(text_start); 71 addr = virt_to_idmap(text_start);
72 end = virt_to_idmap(text_end); 72 end = virt_to_idmap(text_end);
73 pr_info("Setting up static identity map for 0x%lx - 0x%lx\n", addr, end);
73 74
74 prot |= PMD_TYPE_SECT | PMD_SECT_AP_WRITE | PMD_SECT_AF; 75 prot |= PMD_TYPE_SECT | PMD_SECT_AP_WRITE | PMD_SECT_AF;
75 76
@@ -91,8 +92,6 @@ static int __init init_static_idmap(void)
91 if (!idmap_pgd) 92 if (!idmap_pgd)
92 return -ENOMEM; 93 return -ENOMEM;
93 94
94 pr_info("Setting up static identity map for 0x%p - 0x%p\n",
95 __idmap_text_start, __idmap_text_end);
96 identity_mapping_add(idmap_pgd, __idmap_text_start, 95 identity_mapping_add(idmap_pgd, __idmap_text_start,
97 __idmap_text_end, 0); 96 __idmap_text_end, 0);
98 97