diff options
Diffstat (limited to 'init/main.c')
-rw-r--r-- | init/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/init/main.c b/init/main.c index 63ae904a99a8..6af5470b8067 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -463,6 +463,10 @@ static void __init mm_init(void) | |||
463 | percpu_init_late(); | 463 | percpu_init_late(); |
464 | pgtable_cache_init(); | 464 | pgtable_cache_init(); |
465 | vmalloc_init(); | 465 | vmalloc_init(); |
466 | #ifdef CONFIG_X86 | ||
467 | if (efi_enabled) | ||
468 | efi_enter_virtual_mode(); | ||
469 | #endif | ||
466 | } | 470 | } |
467 | 471 | ||
468 | asmlinkage void __init start_kernel(void) | 472 | asmlinkage void __init start_kernel(void) |
@@ -603,10 +607,6 @@ asmlinkage void __init start_kernel(void) | |||
603 | calibrate_delay(); | 607 | calibrate_delay(); |
604 | pidmap_init(); | 608 | pidmap_init(); |
605 | anon_vma_init(); | 609 | anon_vma_init(); |
606 | #ifdef CONFIG_X86 | ||
607 | if (efi_enabled) | ||
608 | efi_enter_virtual_mode(); | ||
609 | #endif | ||
610 | thread_info_cache_init(); | 610 | thread_info_cache_init(); |
611 | cred_init(); | 611 | cred_init(); |
612 | fork_init(totalram_pages); | 612 | fork_init(totalram_pages); |