MAX_LAPIC_ID
for (id = 0; id <= MAX_LAPIC_ID; id++) {
proc->apic_id < MAX_LAPIC_ID && mp_ncpus < MAXCPU) {
if (proc->apic_id < MAX_LAPIC_ID) {