• Ard Biesheuvel's avatar
    efi: x86: Move EFI runtime map sysfs code to arch/x86 · 1fff234d
    Ard Biesheuvel authored
    The EFI runtime map code is only wired up on x86, which is the only
    architecture that has a need for it in its implementation of kexec.
    
    So let's move this code under arch/x86 and drop all references to it
    from generic code. To ensure that the efi_runtime_map_init() is invoked
    at the appropriate time use a 'sync' subsys_initcall() that will be
    called right after the EFI initcall made from generic code where the
    original invocation of efi_runtime_map_init() resided.
    Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
    Reviewed-by: default avatarDave Young <dyoung@redhat.com>
    1fff234d
Makefile 302 Bytes