x86: ACPI: make variable names clearer in acpi_parse_madt_lapic_entries()
authorAl Stone <ahs3@redhat.com>
Fri, 19 Aug 2016 23:24:02 +0000 (17:24 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 13 Sep 2016 00:19:59 +0000 (02:19 +0200)
commitc12f29a5d44d4197162d7fd1cc5dc57d8cfffcf8
tree21fb984c94e09b4a1217541b7569208f08a00e68
parent0f61aaa413989e7838178f5ae77c9c4ad8507013
x86: ACPI: make variable names clearer in acpi_parse_madt_lapic_entries()

This patch has no functional change; it is purely cosmetic, though
it does make it a wee bit easier to understand the code.  Before, the
count of LAPICs was being stored in the variable 'x2count' and the
count of X2APICs was being stored in the variable 'count'.  This
patch swaps that so that the routine acpi_parse_madt_lapic_entries()
will now consistently use x2count to refer to X2APIC info, and count
to refer to LAPIC info.

Signed-off-by: Al Stone <ahs3@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/kernel/acpi/boot.c