arm64/efi: move virtmap init to early initcall
authorArd Biesheuvel <ard.biesheuvel-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Thu, 22 Jan 2015 10:01:40 +0000 (10:01 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 22 Jan 2015 14:59:25 +0000 (14:59 +0000)
commit60305db9884515ca063474e262b454f6da04e4e2
treecbf4480285dd0e7fc8d13780bac7b50678dbf714
parentda141706aea52c1a9fbd28cb8d289b78819f5436
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>
arch/arm64/include/asm/efi.h
arch/arm64/kernel/efi.c
arch/arm64/kernel/setup.c
arch/arm64/mm/mmu.c