diff options
Diffstat (limited to 'arch/x86/kernel/setup.c')
| -rw-r--r-- | arch/x86/kernel/setup.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index c3a4fbb2b996..feb4c21e499a 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> |
| @@ -734,10 +733,10 @@ void __init setup_arch(char **cmdline_p) | |||
| 734 | printk(KERN_INFO "Command line: %s\n", boot_command_line); | 733 | printk(KERN_INFO "Command line: %s\n", boot_command_line); |
| 735 | #endif | 734 | #endif |
| 736 | 735 | ||
| 737 | /* VMI may relocate the fixmap; do this before touching ioremap area */ | 736 | /* |
| 738 | vmi_init(); | 737 | * If we have OLPC OFW, we might end up relocating the fixmap due to |
| 739 | 738 | * reserve_top(), so do this before touching the ioremap area. | |
| 740 | /* OFW also may relocate the fixmap */ | 739 | */ |
| 741 | olpc_ofw_detect(); | 740 | olpc_ofw_detect(); |
| 742 | 741 | ||
| 743 | early_trap_init(); | 742 | early_trap_init(); |
| @@ -838,9 +837,6 @@ void __init setup_arch(char **cmdline_p) | |||
| 838 | 837 | ||
| 839 | x86_report_nx(); | 838 | x86_report_nx(); |
| 840 | 839 | ||
| 841 | /* Must be before kernel pagetables are setup */ | ||
| 842 | vmi_activate(); | ||
| 843 | |||
| 844 | /* after early param, so could get panic from serial */ | 840 | /* after early param, so could get panic from serial */ |
| 845 | reserve_early_setup_data(); | 841 | reserve_early_setup_data(); |
| 846 | 842 | ||
