[PATCH 3/3] ACPI: Introduce map_gic_id() to get apic id from MADT or _MAT method

2014-01-16 Thread Hanjun Guo
Get apic id from MADT or _MAT method is not implemented on arm/arm64, and ACPI 5.0 introduces GIC Structure for it, so this patch introduces map_gic_id() to get apic id followed the ACPI 5.0 spec. Signed-off-by: Hanjun Guo --- drivers/acpi/processor_core.c | 26 ++ 1

[PATCH 3/3] ACPI: Introduce map_gic_id() to get apic id from MADT or _MAT method

2014-01-16 Thread Hanjun Guo
Get apic id from MADT or _MAT method is not implemented on arm/arm64, and ACPI 5.0 introduces GIC Structure for it, so this patch introduces map_gic_id() to get apic id followed the ACPI 5.0 spec. Signed-off-by: Hanjun Guo hanjun@linaro.org --- drivers/acpi/processor_core.c | 26