From 27b0a26ffe615a1eded3bdc3fadd7aa6c0a13e36 Mon Sep 17 00:00:00 2001 From: Yinghai Lu Date: Mon, 23 Jun 2008 19:55:05 -0700 Subject: [PATCH] --- yaml --- r: 99889 b: refs/heads/master c: 295deae401fc5b6f215e876d93b40f25cb968c88 h: refs/heads/master i: 99887: 29c740e7e02f5c0a7b7845ad742bfc324143e4b7 v: v3 --- [refs] | 2 +- trunk/arch/x86/kernel/setup_32.c | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 3ec34b7cf7fb..c4091881d9ba 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9a2e59302668b9ac2fb2a2c9bca1fc793c5d0409 +refs/heads/master: 295deae401fc5b6f215e876d93b40f25cb968c88 diff --git a/trunk/arch/x86/kernel/setup_32.c b/trunk/arch/x86/kernel/setup_32.c index 243b2f7ca137..bba8d57bd7d8 100644 --- a/trunk/arch/x86/kernel/setup_32.c +++ b/trunk/arch/x86/kernel/setup_32.c @@ -482,8 +482,6 @@ void __init setup_arch(char **cmdline_p) */ vmi_init(); #endif - kvm_guest_init(); - /* * NOTE: before this point _nobody_ is allowed to allocate * any memory using the bootmem allocator. Although the @@ -511,9 +509,15 @@ void __init setup_arch(char **cmdline_p) early_quirks(); + /* + * Read APIC and some other early information from ACPI tables. + */ acpi_boot_init(); #if defined(CONFIG_X86_MPPARSE) || defined(CONFIG_X86_VISWS) + /* + * get boot-time SMP configuration: + */ if (smp_found_config) get_smp_config(); #endif @@ -523,6 +527,7 @@ void __init setup_arch(char **cmdline_p) "CONFIG_X86_PC cannot handle it.\nUse " "CONFIG_X86_GENERICARCH or CONFIG_X86_BIGSMP.\n"); #endif + kvm_guest_init(); e820_reserve_resources(); e820_mark_nosave_regions(max_low_pfn);