aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/setup_32.c')
-rw-r--r--arch/x86/kernel/setup_32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/setup_32.c b/arch/x86/kernel/setup_32.c
index 2e805da337a2..704550fdb84c 100644
--- a/arch/x86/kernel/setup_32.c
+++ b/arch/x86/kernel/setup_32.c
@@ -648,9 +648,6 @@ void __init setup_arch(char **cmdline_p)
648 printk(KERN_INFO "BIOS-provided physical RAM map:\n"); 648 printk(KERN_INFO "BIOS-provided physical RAM map:\n");
649 print_memory_map(memory_setup()); 649 print_memory_map(memory_setup());
650 650
651 if (efi_enabled)
652 efi_init();
653
654 copy_edd(); 651 copy_edd();
655 652
656 if (!boot_params.hdr.root_flags) 653 if (!boot_params.hdr.root_flags)
@@ -677,6 +674,9 @@ void __init setup_arch(char **cmdline_p)
677 strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE); 674 strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE);
678 *cmdline_p = command_line; 675 *cmdline_p = command_line;
679 676
677 if (efi_enabled)
678 efi_init();
679
680 max_low_pfn = setup_memory(); 680 max_low_pfn = setup_memory();
681 681
682#ifdef CONFIG_VMI 682#ifdef CONFIG_VMI