The smp_init() Function

Smp_init() is defined in init/main.c.

If the host machine is an SMP-capable x86 processor, smp_init() calls IO_APIC_init_uniprocessor() to set up the processor's APIC peripheral. For other processor families, smp_init() is defined as a do-nothing.