[PATCH] x86, apic: clean up handling of boot_cpu_physical_apicidin boot process

From: HATAYAMA Daisuke
Date: Thu Jan 16 2014 - 04:42:25 EST


Hello,

This patch deals with the issue of handling boot_cpu_physical_apicid
in boot process I avoided in disable_cpu_apicid patch because I
cannot guess how long it needs to take for the review of this fix.

This patch is made on top of today's x86/apic branch of tip tree.
Its commit hash is 5b4d1dbc24bb6fd7179ada0f47be34e27e64decb

I tested this patch in each combination of the following table:

BIOS table boot cpu
-------------+--------------
ACPI MADT AP
MP Table BSP