Skip to content

Commit

Permalink
x86: remove some acpi ifdefs in setup_32/64
Browse files Browse the repository at this point in the history
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Jul 8, 2008
1 parent ce38cc7 commit 0460661
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
5 changes: 1 addition & 4 deletions arch/x86/kernel/setup_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
/*
Expand Down Expand Up @@ -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();
Expand Down
4 changes: 0 additions & 4 deletions arch/x86/kernel/setup_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();

Expand Down

0 comments on commit 0460661

Please sign in to comment.