Browse Source

arch: x86: Convert to CONFIG_MP_MAX_NUM_CPUS

Convert CONFIG_MP_NUM_CPUS to CONFIG_MP_MAX_NUM_CPUS as we work on
phasing out CONFIG_MP_NUM_CPUS.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
pull/51593/head
Kumar Gala 3 years ago committed by Johan Hedberg
parent
commit
c73b0e28a3
  1. 2
      arch/x86/core/intel64/locore.S

2
arch/x86/core/intel64/locore.S

@ -148,7 +148,7 @@ x86_ap_start: @@ -148,7 +148,7 @@ x86_ap_start:
movl $x86_cpuboot, %ebp
xorl %ebx, %ebx
1: cmpl $CONFIG_MP_NUM_CPUS, %ebx
1: cmpl $CONFIG_MP_MAX_NUM_CPUS, %ebx
jz unknown_loapic_id
cmpb %al, x86_cpu_loapics(%ebx)
je go64 /* proceed to 64-bit mode */

Loading…
Cancel
Save