-
Suresh B. Siddha authored
Recent x86-64 sibling map fix for clustered mode by James (http://linux.bkbits.net:8080/linux-2.6/cset@414b34a6jkiHQ5AnhA269av76y3ZAw?nav=index.html) is not the recommended way of fixing it. That patch assumes BIOS for non-clustered systems accept the HW assigned value. Why make this assumption when we can fix it in a better fashion(which is also used by x86 kernel's today) Basically use HW assigned apic_id's(returned by cpuid) for non clustered systems and for clustered use BIOS provided apic_id's. Appended patch does this. Note: Similar issue was earlier disussed in context of x86 approx an year back and James then backed out his changes. http://www.ussg.iu.edu/hypermail/linux/kernel/0312.2/0167.htmlSigned-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
5ce4469b