aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHanjun Guo <hanjun.guo@linaro.org>2015-03-27 08:14:35 -0400
committerWill Deacon <will.deacon@arm.com>2015-03-31 11:30:24 -0400
commitec81ad4eca9736bb73d4458fb7d8a5ccaf3e908e (patch)
treee9df5b37485df62560657641fe23bbba31757bbf
parent8ef320319592693f4a6286d80df210fd47b3e356 (diff)
ARM64 / ACPI: Ignore the return error value of acpi_map_gic_cpu_interface()
MADT scanning will stop when it gets an error from the handler, acpi_map_gic_cpu_interface(), on arm64. However, we need to find all of the enabled CPUs so that SMP initialization can work properly. So, if an error occurs in this case, ignore it for now so that we can find all of the enabled CPUs. Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
-rw-r--r--arch/arm64/kernel/acpi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm64/kernel/acpi.c b/arch/arm64/kernel/acpi.c
index 07649e413244..c263cbaa6484 100644
--- a/arch/arm64/kernel/acpi.c
+++ b/arch/arm64/kernel/acpi.c
@@ -181,7 +181,8 @@ acpi_parse_gic_cpu_interface(struct acpi_subtable_header *header,
181 return -EINVAL; 181 return -EINVAL;
182 182
183 acpi_table_print_madt_entry(header); 183 acpi_table_print_madt_entry(header);
184 return acpi_map_gic_cpu_interface(processor); 184 acpi_map_gic_cpu_interface(processor);
185 return 0;
185} 186}
186 187
187/* Parse GIC cpu interface entries in MADT for SMP init */ 188/* Parse GIC cpu interface entries in MADT for SMP init */