diff options
author | Hanjun Guo <hanjun.guo@linaro.org> | 2013-11-21 14:39:18 +0800 |
---|---|---|
committer | Graeme Gregory <graeme.gregory@linaro.org> | 2013-11-21 10:01:21 +0000 |
commit | b073c7251ee43da3df7974333ac13ca988b6c7dc (patch) | |
tree | 7c0e13d66c5a029e4caee005157455f34e20fa9c | |
parent | 5ae38e47eae0c7f2889ec62af9051a7be0f4fea1 (diff) |
ARM / ACPI: Remove acpi_lapic and acpi_ioapic related code
Variable acpi_lapic and acpi_ioapic are used for x86 MPS
(Multi-processor Spec) stuff, it is not needed for ARM, remove them.
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Acked-by: Graeme Gregory <graeme.gregory@linaro.org>
-rw-r--r-- | drivers/acpi/plat/arm-core.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/drivers/acpi/plat/arm-core.c b/drivers/acpi/plat/arm-core.c index 6710631df118..291d36b022d4 100644 --- a/drivers/acpi/plat/arm-core.c +++ b/drivers/acpi/plat/arm-core.c @@ -71,8 +71,6 @@ int acpi_noirq; /* skip ACPI IRQ initialization */ int acpi_pci_disabled; /* skip ACPI PCI scan and IRQ initialization */ EXPORT_SYMBOL(acpi_pci_disabled); -int acpi_lapic; -int acpi_ioapic; int acpi_strict; u8 acpi_sci_flags __initdata; @@ -506,8 +504,6 @@ static void __init acpi_process_madt(void) */ error = acpi_parse_madt_lapic_entries(); if (!error) { - acpi_lapic = 1; - /* * Parse MADT IO-APIC entries */ @@ -515,16 +511,7 @@ static void __init acpi_process_madt(void) } } - /* - * ACPI supports both logical (e.g. Hyper-Threading) and physical - * processors, where MPS only supports physical. - */ - if (acpi_lapic && acpi_ioapic) - pr_info("Using ACPI (MADT) for SMP configuration " - "information\n"); - else if (acpi_lapic) - pr_info("Using ACPI for processor (LAPIC) " - "configuration information\n"); + pr_info("Using ACPI for processor (GIC) configuration information\n"); return; } @@ -541,9 +528,6 @@ static void __init acpi_process_madt(void) * other side effects. * * side effects of acpi_boot_init: - * acpi_lapic = 1 if LAPIC found - * acpi_ioapic = 1 if IOAPIC found - * if (acpi_lapic && acpi_ioapic) smp_found_config = 1; * if acpi_blacklisted() acpi_disabled = 1; * acpi_irq_model=... * ... |