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, 4 insertions, 8 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 9e5cdaf73b48..a59f6a6df5e2 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -83,7 +83,6 @@
83#include <asm/dmi.h> 83#include <asm/dmi.h>
84#include <asm/io_apic.h> 84#include <asm/io_apic.h>
85#include <asm/ist.h> 85#include <asm/ist.h>
86#include <asm/vmi.h>
87#include <asm/setup_arch.h> 86#include <asm/setup_arch.h>
88#include <asm/bios_ebda.h> 87#include <asm/bios_ebda.h>
89#include <asm/cacheflush.h> 88#include <asm/cacheflush.h>
@@ -691,10 +690,10 @@ void __init setup_arch(char **cmdline_p)
691 printk(KERN_INFO "Command line: %s\n", boot_command_line); 690 printk(KERN_INFO "Command line: %s\n", boot_command_line);
692#endif 691#endif
693 692
694 /* VMI may relocate the fixmap; do this before touching ioremap area */ 693 /*
695 vmi_init(); 694 * If we have OLPC OFW, we might end up relocating the fixmap due to
696 695 * reserve_top(), so do this before touching the ioremap area.
697 /* OFW also may relocate the fixmap */ 696 */
698 olpc_ofw_detect(); 697 olpc_ofw_detect();
699 698
700 early_trap_init(); 699 early_trap_init();
@@ -795,9 +794,6 @@ void __init setup_arch(char **cmdline_p)
795 794
796 x86_report_nx(); 795 x86_report_nx();
797 796
798 /* Must be before kernel pagetables are setup */
799 vmi_activate();
800
801 /* after early param, so could get panic from serial */ 797 /* after early param, so could get panic from serial */
802 reserve_early_setup_data(); 798 reserve_early_setup_data();
803 799