diff options
author | Jiang Liu <jiang.liu@linux.intel.com> | 2014-10-27 01:21:36 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-12-16 08:08:14 -0500 |
commit | 13ca62b243f69b5c0f82386e1cfbb880ee6fce10 (patch) | |
tree | a847abfc0a0599a861b774836cf927f4396adf58 /drivers/acpi | |
parent | 250a1ac685f147d4f4b2f132cfaffcce1a6792c1 (diff) |
ACPI: Fix minor syntax issues in processor_core.c
Fix minor syntax issues in processor_core.c to follow coding styles.
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Rafael J. Wysocki <rjw@rjwysocki.net>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Len Brown <lenb@kernel.org>
Link: http://lkml.kernel.org/r/1414387308-27148-7-git-send-email-jiang.liu@linux.intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/processor_core.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c index ef58f46c8442..342942f90a10 100644 --- a/drivers/acpi/processor_core.c +++ b/drivers/acpi/processor_core.c | |||
@@ -125,13 +125,12 @@ static int map_mat_entry(acpi_handle handle, int type, u32 acpi_id) | |||
125 | } | 125 | } |
126 | 126 | ||
127 | header = (struct acpi_subtable_header *)obj->buffer.pointer; | 127 | header = (struct acpi_subtable_header *)obj->buffer.pointer; |
128 | if (header->type == ACPI_MADT_TYPE_LOCAL_APIC) { | 128 | if (header->type == ACPI_MADT_TYPE_LOCAL_APIC) |
129 | map_lapic_id(header, acpi_id, &apic_id); | 129 | map_lapic_id(header, acpi_id, &apic_id); |
130 | } else if (header->type == ACPI_MADT_TYPE_LOCAL_SAPIC) { | 130 | else if (header->type == ACPI_MADT_TYPE_LOCAL_SAPIC) |
131 | map_lsapic_id(header, type, acpi_id, &apic_id); | 131 | map_lsapic_id(header, type, acpi_id, &apic_id); |
132 | } else if (header->type == ACPI_MADT_TYPE_LOCAL_X2APIC) { | 132 | else if (header->type == ACPI_MADT_TYPE_LOCAL_X2APIC) |
133 | map_x2apic_id(header, type, acpi_id, &apic_id); | 133 | map_x2apic_id(header, type, acpi_id, &apic_id); |
134 | } | ||
135 | 134 | ||
136 | exit: | 135 | exit: |
137 | kfree(buffer.pointer); | 136 | kfree(buffer.pointer); |
@@ -164,7 +163,7 @@ int acpi_map_cpuid(int apic_id, u32 acpi_id) | |||
164 | * For example, | 163 | * For example, |
165 | * | 164 | * |
166 | * Scope (_PR) | 165 | * Scope (_PR) |
167 | * { | 166 | * { |
168 | * Processor (CPU0, 0x00, 0x00000410, 0x06) {} | 167 | * Processor (CPU0, 0x00, 0x00000410, 0x06) {} |
169 | * Processor (CPU1, 0x01, 0x00000410, 0x06) {} | 168 | * Processor (CPU1, 0x01, 0x00000410, 0x06) {} |
170 | * Processor (CPU2, 0x02, 0x00000410, 0x06) {} | 169 | * Processor (CPU2, 0x02, 0x00000410, 0x06) {} |