diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/kernel/efi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/kernel/efi.c b/arch/arm64/kernel/efi.c index 7bfd65097210..14db1f6e8d7f 100644 --- a/arch/arm64/kernel/efi.c +++ b/arch/arm64/kernel/efi.c | |||
@@ -333,6 +333,9 @@ void __init efi_init(void) | |||
333 | 333 | ||
334 | void __init efi_idmap_init(void) | 334 | void __init efi_idmap_init(void) |
335 | { | 335 | { |
336 | if (!efi_enabled(EFI_BOOT)) | ||
337 | return; | ||
338 | |||
336 | /* boot time idmap_pg_dir is incomplete, so fill in missing parts */ | 339 | /* boot time idmap_pg_dir is incomplete, so fill in missing parts */ |
337 | efi_setup_idmap(); | 340 | efi_setup_idmap(); |
338 | } | 341 | } |