mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-29 22:51:49 +01:00
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>
This commit is contained in:
parent
06f16c4148
commit
ef1683d5c3
@ -190,8 +190,8 @@ load_msr:
|
|||||||
|
|
||||||
/* c_handler(cpu_num) */
|
/* c_handler(cpu_num) */
|
||||||
movl %esi, %eax /* cpu_num */
|
movl %esi, %eax /* cpu_num */
|
||||||
mov c_handler, %eax
|
mov c_handler, %esi
|
||||||
call *%eax
|
call *%esi
|
||||||
|
|
||||||
.align 4
|
.align 4
|
||||||
.globl sipi_params
|
.globl sipi_params
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user