x86: Pass correct cpu_index to ap_init()
authorBin Meng <bmeng.cn@gmail.com>
Wed, 14 Oct 2015 09:01:21 +0000 (02:01 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Oct 2015 13:46:27 +0000 (07:46 -0600)
commitef1683d5c36d4906eefd802863ddf4798c0f2a31
tree82ea6cb2db186c1620574c98dadb721219b081db
parent06f16c4148ea0dee3b9269051679c87e9a238431
x86: Pass correct cpu_index to ap_init()

In sipi_vector.S, cpu_index (passed as %eax) is wrongly overwritten
by the ap_init() function address. Correct it.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/sipi_vector.S