diff options
author | Andrey Petrov <anpetrov@fb.com> | 2019-11-07 09:48:41 -0800 |
---|---|---|
committer | Andrey Petrov <anpetrov@fb.com> | 2019-11-13 19:11:39 +0000 |
commit | a7fb23081cb03f85de0bd80944089b82af737e3d (patch) | |
tree | 41625b0d3ed9d9e0d8c6ffbab132acea708932da /util/archive | |
parent | a2d123ea9872ff074c32272e7020553e5647ac64 (diff) |
arch/x86: Correctly determine number of enabled cores
Instead of using MAX of (cores_enabled, MAX_CPUS), use MIN
which is correct.
TEST=tested with dmidecode
Change-Id: Id0935f48e73c037bb7c0e1cf36f94d98a40a499c
Signed-off-by: Andrey Petrov <anpetrov@fb.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36662
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'util/archive')
0 files changed, 0 insertions, 0 deletions