diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2018-05-13 11:43:53 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-05-13 16:14:24 +0200 |
commit | 9305bd6ca7b40fece04d7a7a02765e9e8349f146 (patch) | |
tree | f9134d2e5a07e702c5d0c28a6ea41d9ec1179fc0 /arch/x86/kernel/cpu/cpu.h | |
parent | a2aa578fec8c29436bce5e6c15e1e31729d539a3 (diff) | |
download | lwn-9305bd6ca7b40fece04d7a7a02765e9e8349f146.tar.gz lwn-9305bd6ca7b40fece04d7a7a02765e9e8349f146.zip |
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>
Diffstat (limited to 'arch/x86/kernel/cpu/cpu.h')
-rw-r--r-- | arch/x86/kernel/cpu/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/cpu.h b/arch/x86/kernel/cpu/cpu.h index 49bf8a080105..295cb00a5ac5 100644 --- a/arch/x86/kernel/cpu/cpu.h +++ b/arch/x86/kernel/cpu/cpu.h @@ -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); |