diff options
Diffstat (limited to 'arch/i386/kernel/acpi/boot.c')
-rw-r--r-- | arch/i386/kernel/acpi/boot.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/i386/kernel/acpi/boot.c b/arch/i386/kernel/acpi/boot.c index fb3e72328a5a..e5eb97a910ed 100644 --- a/arch/i386/kernel/acpi/boot.c +++ b/arch/i386/kernel/acpi/boot.c | |||
@@ -850,10 +850,9 @@ static inline int acpi_parse_madt_ioapic_entries(void) | |||
850 | static void __init acpi_process_madt(void) | 850 | static void __init acpi_process_madt(void) |
851 | { | 851 | { |
852 | #ifdef CONFIG_X86_LOCAL_APIC | 852 | #ifdef CONFIG_X86_LOCAL_APIC |
853 | int count, error; | 853 | int error; |
854 | 854 | ||
855 | count = acpi_table_parse(ACPI_SIG_MADT, acpi_parse_madt); | 855 | if (!acpi_table_parse(ACPI_SIG_MADT, acpi_parse_madt)) { |
856 | if (count >= 1) { | ||
857 | 856 | ||
858 | /* | 857 | /* |
859 | * Parse MADT LAPIC entries | 858 | * Parse MADT LAPIC entries |