x86/CPU: Move x86_cpuinfo::x86_max_cores assignment to detect_num_cpu_cores()
No point to have it at the call sites. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
@@ -161,7 +161,7 @@ static void init_centaur(struct cpuinfo_x86 *c)
|
||||
#endif
|
||||
early_init_centaur(c);
|
||||
init_intel_cacheinfo(c);
|
||||
c->x86_max_cores = detect_num_cpu_cores(c);
|
||||
detect_num_cpu_cores(c);
|
||||
#ifdef CONFIG_X86_32
|
||||
detect_ht(c);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user