diff options
Diffstat (limited to 'arch/i386/kernel/acpi')
-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 e94aff6888c..7ac7b67b851 100644 --- a/arch/i386/kernel/acpi/boot.c +++ b/arch/i386/kernel/acpi/boot.c | |||
@@ -865,10 +865,9 @@ static inline int acpi_parse_madt_ioapic_entries(void) | |||
865 | static void __init acpi_process_madt(void) | 865 | static void __init acpi_process_madt(void) |
866 | { | 866 | { |
867 | #ifdef CONFIG_X86_LOCAL_APIC | 867 | #ifdef CONFIG_X86_LOCAL_APIC |
868 | int count, error; | 868 | int error; |
869 | 869 | ||
870 | count = acpi_table_parse(ACPI_SIG_MADT, acpi_parse_madt); | 870 | if (!acpi_table_parse(ACPI_SIG_MADT, acpi_parse_madt)) { |
871 | if (count >= 1) { | ||
872 | 871 | ||
873 | /* | 872 | /* |
874 | * Parse MADT LAPIC entries | 873 | * Parse MADT LAPIC entries |