x86: ACPI: make variable names clearer in acpi_parse_madt_lapic_entries()
[cascardo/linux.git] / arch / x86 / kernel / acpi / boot.c
index 5fb8f05..ccd27fe 100644 (file)
@@ -1031,8 +1031,8 @@ static int __init acpi_parse_madt_lapic_entries(void)
                        return ret;
                }
 
-               x2count = madt_proc[0].count;
-               count = madt_proc[1].count;
+               count = madt_proc[0].count;
+               x2count = madt_proc[1].count;
        }
        if (!count && !x2count) {
                printk(KERN_ERR PREFIX "No LAPIC entries present\n");