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.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 0fa6790c1dd3..f44dadfb32cf 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -98,6 +98,7 @@
98 98
99#include <mach_apic.h> 99#include <mach_apic.h>
100#include <asm/paravirt.h> 100#include <asm/paravirt.h>
101#include <asm/hypervisor.h>
101 102
102#include <asm/percpu.h> 103#include <asm/percpu.h>
103#include <asm/topology.h> 104#include <asm/topology.h>
@@ -909,6 +910,12 @@ void __init setup_arch(char **cmdline_p)
909 910
910 dmi_check_system(bad_bios_dmi_table); 911 dmi_check_system(bad_bios_dmi_table);
911 912
913 /*
914 * VMware detection requires dmi to be available, so this
915 * needs to be done after dmi_scan_machine, for the BP.
916 */
917 init_hypervisor(&boot_cpu_data);
918
912#ifdef CONFIG_X86_32 919#ifdef CONFIG_X86_32
913 probe_roms(); 920 probe_roms();
914#endif 921#endif