Home
last modified time | relevance | path

Searched hist:"4 fd64d02b2bb7fe583c1246c79b9658223d96442" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/arch/x86/cpu/
H A Dmp_init.c4fd64d02b2bb7fe583c1246c79b9658223d96442 Fri Feb 12 21:27:56 UTC 2016 Stephen Warren <swarren@nvidia.com> x86: fix memalign() parameter order

Purely by code inspection, it looks like the parameter order to memalign()
is swapped; its parameters are (align, size). 4096 is a likely desired
alignment, and a variable named size sounds like a size:-)

Fixes: 45b5a37836d5 ("x86: Add multi-processor init")
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Bin Meng <bmeng.cn@gmail.com>