aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-06-21 04:38:41 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 06:48:33 -0400
commit04606618bb50c4ec754585a82732ea4facfe2bc9 (patch)
treee058e07afd175389a10286d4b02e802ea1011032
parentce38cc79964687d3c7e92663bc040552416fca27 (diff)
x86: remove some acpi ifdefs in setup_32/64
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--arch/x86/kernel/setup_32.c5
-rw-r--r--arch/x86/kernel/setup_64.c4
2 files changed, 1 insertions, 8 deletions
diff --git a/arch/x86/kernel/setup_32.c b/arch/x86/kernel/setup_32.c
index cad4e893df05..e274ee6ff582 100644
--- a/arch/x86/kernel/setup_32.c
+++ b/arch/x86/kernel/setup_32.c
@@ -726,12 +726,10 @@ void __init setup_arch(char **cmdline_p)
726 726
727 io_delay_init(); 727 io_delay_init();
728 728
729#ifdef CONFIG_ACPI
730 /* 729 /*
731 * Parse the ACPI tables for possible boot-time SMP configuration. 730 * Parse the ACPI tables for possible boot-time SMP configuration.
732 */ 731 */
733 acpi_boot_table_init(); 732 acpi_boot_table_init();
734#endif
735 733
736#ifdef CONFIG_ACPI_NUMA 734#ifdef CONFIG_ACPI_NUMA
737 /* 735 /*
@@ -812,9 +810,8 @@ void __init setup_arch(char **cmdline_p)
812 810
813 early_quirks(); 811 early_quirks();
814 812
815#ifdef CONFIG_ACPI
816 acpi_boot_init(); 813 acpi_boot_init();
817#endif 814
818#if defined(CONFIG_X86_MPPARSE) || defined(CONFIG_X86_VISWS) 815#if defined(CONFIG_X86_MPPARSE) || defined(CONFIG_X86_VISWS)
819 if (smp_found_config) 816 if (smp_found_config)
820 get_smp_config(); 817 get_smp_config();
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c
index c94464ab04ba..9b516eecada0 100644
--- a/arch/x86/kernel/setup_64.c
+++ b/arch/x86/kernel/setup_64.c
@@ -355,13 +355,11 @@ void __init setup_arch(char **cmdline_p)
355 kvmclock_init(); 355 kvmclock_init();
356#endif 356#endif
357 357
358#ifdef CONFIG_ACPI
359 /* 358 /*
360 * Initialize the ACPI boot-time table parser (gets the RSDP and SDT). 359 * Initialize the ACPI boot-time table parser (gets the RSDP and SDT).
361 * Call this early for SRAT node setup. 360 * Call this early for SRAT node setup.
362 */ 361 */
363 acpi_boot_table_init(); 362 acpi_boot_table_init();
364#endif
365 363
366 /* How many end-of-memory variables you have, grandma! */ 364 /* How many end-of-memory variables you have, grandma! */
367 max_low_pfn = end_pfn; 365 max_low_pfn = end_pfn;
@@ -432,12 +430,10 @@ void __init setup_arch(char **cmdline_p)
432 430
433 early_quirks(); 431 early_quirks();
434 432
435#ifdef CONFIG_ACPI
436 /* 433 /*
437 * Read APIC and some other early information from ACPI tables. 434 * Read APIC and some other early information from ACPI tables.
438 */ 435 */
439 acpi_boot_init(); 436 acpi_boot_init();
440#endif
441 437
442 init_cpu_to_node(); 438 init_cpu_to_node();
443 439