On 2014/9/9 18:54, Thomas Gleixner wrote:
> On Thu, 28 Aug 2014, Jiang Liu wrote:
>>
>> +static struct acpi_table_madt *madt;
>> +static int read_madt;
>
> Pretty lousy file visible variable names.
>
> So we end up with two copies of the butt ugly
>
>if (!read_madt) {
> .
>
On Thu, 28 Aug 2014, Jiang Liu wrote:
>
> +static struct acpi_table_madt *madt;
> +static int read_madt;
Pretty lousy file visible variable names.
So we end up with two copies of the butt ugly
if (!read_madt) {
.
}
stuff instead of creating a helper function which hides that
From: Yinghai Lu
We need to parse APIC ID for IOAPIC registration for IOAPIC hotplug.
ACPI _MAT method and MADT table are used to figure out IOAPIC ID, just
like parsing CPU APIC ID for CPU hotplug.
Signed-off-by: Yinghai Lu
Signed-off-by: Jiang Liu
---
drivers/acpi/apic_id.c | 96 +
3 matches
Mail list logo