]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: use actual CPU number for allocating memory
authorMiao Yan <yanmiaobest@gmail.com>
Thu, 7 Jan 2016 09:32:03 +0000 (01:32 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 13 Jan 2016 04:20:15 +0000 (12:20 +0800)
commitb28cecdfb8976a88d208879df0aff1ca69c07de5
treed6aa09d79823ae54cd291cf934442d8b2361b339
parent24fb49073e3ac3dae0de805de1e961cc9373ffcd
x86: use actual CPU number for allocating memory

Use actual CPU number, instead of maximum cpu configured, to allocate
stack memory in 'load_sipi_vector'

Signed-off-by: Miao Yan <yanmiaobest@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/mp_init.c