x86/CPU: Move x86_cpuinfo::x86_max_cores assignment to detect_num_cpu_cores()
authorThomas Gleixner <tglx@linutronix.de>
Sun, 13 May 2018 09:43:53 +0000 (11:43 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 13 May 2018 14:14:24 +0000 (16:14 +0200)
commit9305bd6ca7b40fece04d7a7a02765e9e8349f146
treef9134d2e5a07e702c5d0c28a6ea41d9ec1179fc0
parenta2aa578fec8c29436bce5e6c15e1e31729d539a3
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>
arch/x86/kernel/cpu/centaur.c
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/cpu.h
arch/x86/kernel/cpu/intel.c