Commit fdbecd9f authored by Ingo Molnar's avatar Ingo Molnar

x86, apic: explain the purpose of max_physical_apicid

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 65a4e574
...@@ -50,13 +50,26 @@ ...@@ -50,13 +50,26 @@
#include <asm/smp.h> #include <asm/smp.h>
unsigned int num_processors; unsigned int num_processors;
unsigned disabled_cpus __cpuinitdata; unsigned disabled_cpus __cpuinitdata;
/* Processor that is doing the boot up */ /* Processor that is doing the boot up */
unsigned int boot_cpu_physical_apicid = -1U; unsigned int boot_cpu_physical_apicid = -1U;
EXPORT_SYMBOL(boot_cpu_physical_apicid);
/*
* The highest APIC ID seen during enumeration.
*
* This determines the messaging protocol we can use: if all APIC IDs
* are in the 0 ... 7 range, then we can use logical addressing which
* has some performance advantages (better broadcasting).
*
* If there's an APIC ID above 8, we use physical addressing.
*/
unsigned int max_physical_apicid; unsigned int max_physical_apicid;
/* Bitmask of physically existing CPUs */ /*
* Bitmask of physically existing CPUs:
*/
physid_mask_t phys_cpu_present_map; physid_mask_t phys_cpu_present_map;
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment