Revert "arm64: acpi: Harden get_cpu_for_acpi_id() against missing CPU entry"
This reverts commit c71f1763b9
.
This commit is contained in:
parent
4063b09e58
commit
c016244326
1 changed files with 1 additions and 2 deletions
|
@ -102,8 +102,7 @@ static inline int get_cpu_for_acpi_id(u32 uid)
|
|||
int cpu;
|
||||
|
||||
for (cpu = 0; cpu < nr_cpu_ids; cpu++)
|
||||
if (acpi_cpu_get_madt_gicc(cpu) &&
|
||||
uid == get_acpi_id_for_cpu(cpu))
|
||||
if (uid == get_acpi_id_for_cpu(cpu))
|
||||
return cpu;
|
||||
|
||||
return -EINVAL;
|
||||
|
|
Loading…
Reference in a new issue