minor x86 PM source file cleanup
cover minor x86 PM source file cleanup
Really minor patches: one to cleanup whitespace, the second just makes the code a wee bit more maintainable by correcting some variable names without changing functionality.
Al Stone (2):
x86: ACPI: remove extraneous white space after semicolon
x86: ACPI: make variable names clearer in
acpi_parse_madt_lapic_entries()
arch/x86/kernel/acpi/boot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.7.4
PATCH 1/2 x86: ACPI: remove extraneous white space after semicolon
--- arch/x86/kernel/acpi/boot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/acpi/boot.c +1 -1
@@ -1513,7 +1513,7 @@ void __init acpi_boot_table_init(void)* If acpi_disabled, bail out */ if (acpi_disabled) -return ; +return ;/* * Initialize the ACPI boot-time table parser.
Signature · 1 line
2.7.4
PATCH 2/2 x86: ACPI: make variable names clearer in acpi_parse_madt_lapic_entries()
In reply to Al StoneThis 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.
--- arch/x86/kernel/acpi/boot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/kernel/acpi/boot.c +2 -2
@@ -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");
Signature · 1 line
2.7.4
Quoted 3 lines · Al Stone
Really minor patches: one to cleanup whitespace, the second just makes the code a wee bit more maintainable by correcting some variable names without changing functionality.
(for both)
Quoted 8 lines
Al Stone (2):
x86: ACPI: remove extraneous white space after semicolon
x86: ACPI: make variable names clearer in
acpi_parse_madt_lapic_entries()arch/x86/kernel/acpi/boot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Quoted 18 lines · Pavel Machek
Quoted 3 lines · Al Stone
Really minor patches: one to cleanup whitespace, the second just makes the code a wee bit more maintainable by correcting some variable names without changing functionality.
Acked-by Pavel Machek <[email protected]>(for both)
Quoted 8 lines
Al Stone (2):
x86: ACPI: remove extraneous white space after semicolon
x86: ACPI: make variable names clearer in
acpi_parse_madt_lapic_entries()arch/x86/kernel/acpi/boot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Thanks, Pavel.
Signature · 8 lines
ciao, al ----------------------------------- Al Stone Software Engineer Red Hat, Inc. [email protected] -----------------------------------
Quoted 15 lines · Al Stone
Quoted 14 lines · Pavel Machek
Quoted 3 lines · Al Stone
Really minor patches: one to cleanup whitespace, the second just makes the code a wee bit more maintainable by correcting some variable names without changing functionality.
Acked-by Pavel Machek <[email protected]>(for both)
Quoted 5 lines
Al Stone (2):
x86: ACPI: remove extraneous white space after semicolon
x86: ACPI: make variable names clearer in
acpi_parse_madt_lapic_entries()
Quoted 6 lines
Quoted 4 lines
Quoted 3 lines
arch/x86/kernel/acpi/boot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)Thanks, Pavel.
Both applied.
Thanks,
Rafael