summaryrefslogtreecommitdiff
path: root/arch/arm/mm
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-04-04 12:01:10 +0300
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-06-02 01:45:56 +0300
commitc0b759d87eab301af0380f5459057656178e78cf (patch)
tree6f4ce56fd5c41adaa1f750495172953702ca7597 /arch/arm/mm
parent39b74fe82f734ac0bec726733805bb7d46c95933 (diff)
downloadlinux-c0b759d87eab301af0380f5459057656178e78cf.tar.xz
ARM: keystone2: rename init_meminfo to pv_fixup
The init_meminfo() method is not about initialising meminfo - it's about fixing up the physical to virtual translation so that we use a different physical address space, possibly above the 4GB physical address space. Therefore, the name "init_meminfo()" is confusing. Rename it to pv_fixup() instead. Acked-by: Santosh Shilimkar <ssantosh@kernel.org> Tested-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm')
-rw-r--r--arch/arm/mm/mmu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c
index 91262d28a4c9..0e5ed87221dd 100644
--- a/arch/arm/mm/mmu.c
+++ b/arch/arm/mm/mmu.c
@@ -1404,7 +1404,7 @@ void __init early_paging_init(const struct machine_desc *mdesc,
phys_addr_t phys;
int i;
- if (!(mdesc->init_meminfo))
+ if (!mdesc->pv_fixup)
return;
/* remap kernel code and data */
@@ -1420,7 +1420,7 @@ void __init early_paging_init(const struct machine_desc *mdesc,
pudk = pud_offset(pgdk, map_start);
pmdk = pmd_offset(pudk, map_start);
- offset = mdesc->init_meminfo();
+ offset = mdesc->pv_fixup();
if (offset == 0)
return;
@@ -1514,10 +1514,10 @@ void __init early_paging_init(const struct machine_desc *mdesc,
{
long long offset;
- if (!mdesc->init_meminfo)
+ if (!mdesc->pv_fixup)
return;
- offset = mdesc->init_meminfo();
+ offset = mdesc->pv_fixup();
if (offset == 0)
return;