x86/CPU: Move x86_cpuinfo::x86_max_cores assignment to detect_num_cpu_cores()
[linux-2.6-block.git] / arch / x86 / kernel / cpu / cpu.h
index 49bf8a0801057d1f61331f17d33d87771d3b1593..295cb00a5ac5f650faf6cb846fd64c4fa1878650 100644 (file)
@@ -54,7 +54,7 @@ extern u32 get_scattered_cpuid_leaf(unsigned int level,
 extern void init_intel_cacheinfo(struct cpuinfo_x86 *c);
 extern void init_amd_cacheinfo(struct cpuinfo_x86 *c);
 
-extern int detect_num_cpu_cores(struct cpuinfo_x86 *c);
+extern void detect_num_cpu_cores(struct cpuinfo_x86 *c);
 extern int detect_extended_topology(struct cpuinfo_x86 *c);
 extern void detect_ht(struct cpuinfo_x86 *c);