projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/CPU: Move x86_cpuinfo::x86_max_cores assignment to detect_num_cpu_cores()
[linux-2.6-block.git]
/
arch
/
x86
/
kernel
/
cpu
/
centaur.c
diff --git
a/arch/x86/kernel/cpu/centaur.c
b/arch/x86/kernel/cpu/centaur.c
index c265494234e63c9d3a219263c1df450ed7c982d3..14433ff5b8285f124805c8e47dec0d9b3cc19f0b 100644
(file)
--- a/
arch/x86/kernel/cpu/centaur.c
+++ b/
arch/x86/kernel/cpu/centaur.c
@@
-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