]> err.no Git - linux-2.6/blobdiff - arch/x86/kernel/genapic_64.c
netns: Fix crash by making igmp per namespace
[linux-2.6] / arch / x86 / kernel / genapic_64.c
index cbaaf69bedb29c92055e2272a12efba7f49f9ee1..eaff0bbb1444b73d7110782130ec78ed12f9e520 100644 (file)
@@ -51,7 +51,7 @@ void __init setup_apic_routing(void)
        else
 #endif
 
-       if (num_possible_cpus() <= 8)
+       if (max_physical_apicid < 8)
                genapic = &apic_flat;
        else
                genapic = &apic_physflat;
@@ -99,3 +99,4 @@ int is_uv_system(void)
 {
        return uv_system_type != UV_NONE;
 }
+EXPORT_SYMBOL_GPL(is_uv_system);