arm64/efi: move virtmap init to early initcall

Now that the create_mapping() code in mm/mmu.c is able to support
setting up kernel page tables at initcall time, we can move the whole
virtmap creation to arm64_enable_runtime_services() instead of having
a distinct stage during early boot. This also allows us to drop the
arm64-specific EFI_VIRTMAP flag.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
This commit is contained in:
Ard Biesheuvel
2015-01-22 10:01:40 +00:00
committed by Catalin Marinas
父節點 da141706ae
當前提交 60305db988
共有 4 個文件被更改,包括 59 次插入73 次删除

查看文件

@@ -382,7 +382,6 @@ void __init setup_arch(char **cmdline_p)
paging_init();
request_standard_resources();
efi_virtmap_init();
early_ioremap_reset();
unflatten_device_tree();