x86: introduce max_physical_apicid for bigsmp switching
[deliverable/linux.git] / arch / x86 / kernel / apic_64.c
index 54087f920f2f798f0a179bdfcf280ed4a0046d88..1872555b98a32be8d57d0504d7741852eb24856f 100644 (file)
@@ -1093,6 +1093,9 @@ void __cpuinit generic_processor_info(int apicid, int version)
                 */
                cpu = 0;
        }
+       if (apicid > max_physical_apicid)
+               max_physical_apicid = apicid;
+
        /* are we being called early in kernel startup? */
        if (x86_cpu_to_apicid_early_ptr) {
                u16 *cpu_to_apicid = x86_cpu_to_apicid_early_ptr;
This page took 0.07703 seconds and 5 git commands to generate.