x86: Correct handling of MADT table CPUs
authorSimon Glass <sjg@chromium.org>
Tue, 22 Sep 2020 18:45:31 +0000 (12:45 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 25 Sep 2020 03:27:23 +0000 (11:27 +0800)
commit4ff3591988a4aefad7bafc9a2ee8701cccf03d74
tree5d8a558d6785fbca65ecc4b7073d553ec04ca1e7
parent26c3d3d7d598ec3421cf0573df0c0d159d6183c0
x86: Correct handling of MADT table CPUs

At present if hyperthreading is disabled the CPU numbering is not
sequential. Fix this.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/lib/acpi_table.c