x86, NUMA: Unify 32/64bit numa_cpu_node() implementation
[sfrench/cifs-2.6.git] / arch / x86 / mm / numa_64.c
index b4fd25e753cb3a2473501da8c33dc41d98dcfd7f..7f83adec04828b4d9b2c283bbc4d4e77b9104fd9 100644 (file)
@@ -512,15 +512,6 @@ unsigned long __init numa_free_all_bootmem(void)
        return pages;
 }
 
-int __cpuinit numa_cpu_node(int cpu)
-{
-       int apicid = early_per_cpu(x86_cpu_to_apicid, cpu);
-
-       if (apicid != BAD_APICID)
-               return __apicid_to_node[apicid];
-       return NUMA_NO_NODE;
-}
-
 #ifdef CONFIG_MEMORY_HOTPLUG
 int memory_add_physaddr_to_nid(u64 start)
 {