aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2019-02-13 07:10:09 -0500
committerCatalin Marinas <catalin.marinas@arm.com>2019-03-01 11:40:07 -0500
commitb855b58ac1b7891b219e1d9ef60c45c774cadefe (patch)
tree2e5858088fab5c4b4eacf2158ab82ccf4b59c82a
parent6bd288569b50bc89fa5513031086746968f585cb (diff)
arm64: mmu: drop paging_init comments
The comments could not reflect the code, and it is easy to get what this function does from a straight-line reading of the code. So let's drop the comments Signed-off-by: Peng Fan <peng.fan@nxp.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
-rw-r--r--arch/arm64/mm/mmu.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm64/mm/mmu.c b/arch/arm64/mm/mmu.c
index d6b6f1b169bb..402b6495ff58 100644
--- a/arch/arm64/mm/mmu.c
+++ b/arch/arm64/mm/mmu.c
@@ -654,10 +654,6 @@ static void __init map_kernel(pgd_t *pgdp)
654 kasan_copy_shadow(pgdp); 654 kasan_copy_shadow(pgdp);
655} 655}
656 656
657/*
658 * paging_init() sets up the page tables, initialises the zone memory
659 * maps and sets up the zero page.
660 */
661void __init paging_init(void) 657void __init paging_init(void)
662{ 658{
663 pgd_t *pgdp = pgd_set_fixmap(__pa_symbol(swapper_pg_dir)); 659 pgd_t *pgdp = pgd_set_fixmap(__pa_symbol(swapper_pg_dir));