x86: remove some acpi ifdefs in setup_32/64
authorYinghai Lu <yhlu.kernel@gmail.com>
Sat, 21 Jun 2008 08:38:41 +0000 (01:38 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 10:48:33 +0000 (12:48 +0200)
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/setup_32.c
arch/x86/kernel/setup_64.c

index cad4e893df056e8bfc1deab20ef9208a4e7e4b0d..e274ee6ff582b9b6184c6cf1f622fbd5f53d14f2 100644 (file)
@@ -726,12 +726,10 @@ void __init setup_arch(char **cmdline_p)
 
        io_delay_init();
 
-#ifdef CONFIG_ACPI
        /*
         * Parse the ACPI tables for possible boot-time SMP configuration.
         */
        acpi_boot_table_init();
-#endif
 
 #ifdef CONFIG_ACPI_NUMA
         /*
@@ -812,9 +810,8 @@ void __init setup_arch(char **cmdline_p)
 
        early_quirks();
 
-#ifdef CONFIG_ACPI
        acpi_boot_init();
-#endif
+
 #if defined(CONFIG_X86_MPPARSE) || defined(CONFIG_X86_VISWS)
        if (smp_found_config)
                get_smp_config();
index c94464ab04bafed8a966e3d1e9b9dd965dcee72f..9b516eecada072f40c440c2880474fe1f4faea7d 100644 (file)
@@ -355,13 +355,11 @@ void __init setup_arch(char **cmdline_p)
        kvmclock_init();
 #endif
 
-#ifdef CONFIG_ACPI
        /*
         * Initialize the ACPI boot-time table parser (gets the RSDP and SDT).
         * Call this early for SRAT node setup.
         */
        acpi_boot_table_init();
-#endif
 
        /* How many end-of-memory variables you have, grandma! */
        max_low_pfn = end_pfn;
@@ -432,12 +430,10 @@ void __init setup_arch(char **cmdline_p)
 
        early_quirks();
 
-#ifdef CONFIG_ACPI
        /*
         * Read APIC and some other early information from ACPI tables.
         */
        acpi_boot_init();
-#endif
 
        init_cpu_to_node();