aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/acpi/boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel/acpi/boot.c')
-rw-r--r--arch/i386/kernel/acpi/boot.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/i386/kernel/acpi/boot.c b/arch/i386/kernel/acpi/boot.c
index 09700d894668..84befaecedf8 100644
--- a/arch/i386/kernel/acpi/boot.c
+++ b/arch/i386/kernel/acpi/boot.c
@@ -303,7 +303,7 @@ acpi_parse_lapic_nmi(acpi_table_entry_header * header, const unsigned long end)
303 303
304#endif /*CONFIG_X86_LOCAL_APIC */ 304#endif /*CONFIG_X86_LOCAL_APIC */
305 305
306#if defined(CONFIG_X86_IO_APIC) && defined(CONFIG_ACPI_INTERPRETER) 306#ifdef CONFIG_X86_IO_APIC
307 307
308static int __init 308static int __init
309acpi_parse_ioapic(acpi_table_entry_header * header, const unsigned long end) 309acpi_parse_ioapic(acpi_table_entry_header * header, const unsigned long end)
@@ -634,10 +634,8 @@ static int __init acpi_parse_fadt(unsigned long phys, unsigned long size)
634 printk(KERN_WARNING PREFIX "Unable to map FADT\n"); 634 printk(KERN_WARNING PREFIX "Unable to map FADT\n");
635 return 0; 635 return 0;
636 } 636 }
637#ifdef CONFIG_ACPI_INTERPRETER
638 /* initialize sci_int early for INT_SRC_OVR MADT parsing */ 637 /* initialize sci_int early for INT_SRC_OVR MADT parsing */
639 acpi_fadt.sci_int = fadt->sci_int; 638 acpi_fadt.sci_int = fadt->sci_int;
640#endif
641 639
642#ifdef CONFIG_ACPI_BUS 640#ifdef CONFIG_ACPI_BUS
643 /* initialize rev and apic_phys_dest_mode for x86_64 genapic */ 641 /* initialize rev and apic_phys_dest_mode for x86_64 genapic */
@@ -735,7 +733,7 @@ static int __init acpi_parse_madt_lapic_entries(void)
735} 733}
736#endif /* CONFIG_X86_LOCAL_APIC */ 734#endif /* CONFIG_X86_LOCAL_APIC */
737 735
738#if defined(CONFIG_X86_IO_APIC) && defined(CONFIG_ACPI_INTERPRETER) 736#ifdef CONFIG_X86_IO_APIC
739/* 737/*
740 * Parse IOAPIC related entries in MADT 738 * Parse IOAPIC related entries in MADT
741 * returns 0 on success, < 0 on error 739 * returns 0 on success, < 0 on error
@@ -810,7 +808,7 @@ static inline int acpi_parse_madt_ioapic_entries(void)
810{ 808{
811 return -1; 809 return -1;
812} 810}
813#endif /* !(CONFIG_X86_IO_APIC && CONFIG_ACPI_INTERPRETER) */ 811#endif /* !CONFIG_X86_IO_APIC */
814 812
815static void __init acpi_process_madt(void) 813static void __init acpi_process_madt(void)
816{ 814{