aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r--arch/x86/kernel/setup.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 81f5d22747ae..6adab3072109 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -795,6 +795,9 @@ void __init setup_arch(char **cmdline_p)
795 printk(KERN_INFO "Command line: %s\n", boot_command_line); 795 printk(KERN_INFO "Command line: %s\n", boot_command_line);
796#endif 796#endif
797 797
798 /* VMI may relocate the fixmap; do this before touching ioremap area */
799 vmi_init();
800
798 early_cpu_init(); 801 early_cpu_init();
799 early_ioremap_init(); 802 early_ioremap_init();
800 803
@@ -881,13 +884,8 @@ void __init setup_arch(char **cmdline_p)
881 check_efer(); 884 check_efer();
882#endif 885#endif
883 886
884#if defined(CONFIG_VMI) && defined(CONFIG_X86_32) 887 /* Must be before kernel pagetables are setup */
885 /* 888 vmi_activate();
886 * Must be before kernel pagetables are setup
887 * or fixmap area is touched.
888 */
889 vmi_init();
890#endif
891 889
892 /* after early param, so could get panic from serial */ 890 /* after early param, so could get panic from serial */
893 reserve_early_setup_data(); 891 reserve_early_setup_data();