diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-04-04 17:25:20 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-06-01 23:48:09 +0100 |
commit | 1221ed10f2a56ecdd8ff75f436f52aca5ba0f1d3 (patch) | |
tree | c9330877276fc7b6527ddbe182826c7eb9c767b3 /arch/arm/mm/mmu.c | |
parent | d8dc7fbd53eeb329a1dda5a19df7058b9c1c413e (diff) | |
download | linux-stable-1221ed10f2a56ecdd8ff75f436f52aca5ba0f1d3.tar.gz linux-stable-1221ed10f2a56ecdd8ff75f436f52aca5ba0f1d3.tar.bz2 linux-stable-1221ed10f2a56ecdd8ff75f436f52aca5ba0f1d3.zip |
ARM: cleanup early_paging_init() calling
Eliminate the needless nommu version of this function, and get rid of
the proc_info_list structure argument - we no longer need this in order
to fix up the page table entries.
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/mmu.c')
-rw-r--r-- | arch/arm/mm/mmu.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index a5d3180a6886..5aefa9533684 100644 --- a/arch/arm/mm/mmu.c +++ b/arch/arm/mm/mmu.c @@ -1396,8 +1396,7 @@ pgtables_remap lpae_pgtables_remap_asm; * early_paging_init() recreates boot time page table setup, allowing machines * to switch over to a high (>4G) address space on LPAE systems */ -void __init early_paging_init(const struct machine_desc *mdesc, - struct proc_info_list *procinfo) +void __init early_paging_init(const struct machine_desc *mdesc) { pgtables_remap *lpae_pgtables_remap; unsigned long pa_pgd; @@ -1465,8 +1464,7 @@ void __init early_paging_init(const struct machine_desc *mdesc, #else -void __init early_paging_init(const struct machine_desc *mdesc, - struct proc_info_list *procinfo) +void __init early_paging_init(const struct machine_desc *mdesc) { long long offset; |