x86: Unify CPU -> NUMA node mapping between 32 and 64bit
[deliverable/linux.git] / arch / x86 / kernel / cpu / amd.c
index 3cce8f2bb2e17a92b7864cf908734a65c1b1d799..77858fd64620947e864f272a3df8195821990673 100644 (file)
@@ -233,7 +233,7 @@ static void __cpuinit init_amd_k7(struct cpuinfo_x86 *c)
 }
 #endif
 
-#if defined(CONFIG_NUMA) && defined(CONFIG_X86_64)
+#ifdef CONFIG_NUMA
 /*
  * To workaround broken NUMA config.  Read the comment in
  * srat_detect_node().
@@ -338,7 +338,7 @@ EXPORT_SYMBOL_GPL(amd_get_nb_id);
 
 static void __cpuinit srat_detect_node(struct cpuinfo_x86 *c)
 {
-#if defined(CONFIG_NUMA) && defined(CONFIG_X86_64)
+#ifdef CONFIG_NUMA
        int cpu = smp_processor_id();
        int node;
        unsigned apicid = c->apicid;
This page took 0.026429 seconds and 5 git commands to generate.