]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: mp_init: Drop the num_cpus static variable
authorSimon Glass <sjg@chromium.org>
Fri, 17 Jul 2020 14:48:11 +0000 (08:48 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 20 Jul 2020 01:46:43 +0000 (09:46 +0800)
commita6c9fd4da06f2893026e900401128ef9db6a4a2a
treed28d72ed0ff75567976459e508968f6d59417bcd
parent3a5752ccff5a8ee2952d0d81387f32825b73756e
x86: mp_init: Drop the num_cpus static variable

This does not need to be global across all functions in this file. Pass a
parameter instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/mp_init.c