Commit 00651fad authored by Jun Nakajima's avatar Jun Nakajima Committed by Linus Torvalds

[PATCH] Remove the assumption that the number of the sibling is 2

Thanks to Nick's domain patch, the kernel worked fine with
smp_num_siblings = 4 (in simulation).
parent 33ab1d91
......@@ -296,12 +296,8 @@ static void __init init_intel(struct cpuinfo_x86 *c)
} else if (smp_num_siblings > 1 ) {
index_lsb = 0;
index_msb = 31;
/*
* At this point we only support two siblings per
* processor package.
*/
#define NR_SIBLINGS 2
if (smp_num_siblings != NR_SIBLINGS) {
if (smp_num_siblings > NR_CPUS) {
printk(KERN_WARNING "CPU: Unsupported number of the siblings %d", smp_num_siblings);
smp_num_siblings = 1;
goto too_many_siblings;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment