Pull fluff into release branch
[sfrench/cifs-2.6.git] / arch / i386 / kernel / acpi / boot.c
index fb3e72328a5aacf8f86cdf17fe96e171259ad5a6..e5eb97a910ed8d82f74fc67802e04321eacdc82c 100644 (file)
@@ -850,10 +850,9 @@ static inline int acpi_parse_madt_ioapic_entries(void)
 static void __init acpi_process_madt(void)
 {
 #ifdef CONFIG_X86_LOCAL_APIC
-       int count, error;
+       int error;
 
-       count = acpi_table_parse(ACPI_SIG_MADT, acpi_parse_madt);
-       if (count >= 1) {
+       if (!acpi_table_parse(ACPI_SIG_MADT, acpi_parse_madt)) {
 
                /*
                 * Parse MADT LAPIC entries