-stable review patch. If anyone has any objections, please let us know. ------------------
This fixes a bug in SRAT handling on AMD systems that was introduced with the dual core support. It would be disabled on CPUs without dual core. Just drop the bogus check. Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> Signed-off-by: Chris Wright <[EMAIL PROTECTED]> Index: linux-2.6.12/arch/x86_64/kernel/setup.c =================================================================== --- linux-2.6.12.orig/arch/x86_64/kernel/setup.c +++ linux-2.6.12/arch/x86_64/kernel/setup.c @@ -729,8 +729,6 @@ static void __init amd_detect_cmp(struct int cpu = smp_processor_id(); int node = 0; unsigned bits; - if (c->x86_num_cores == 1) - return; bits = 0; while ((1 << bits) < c->x86_num_cores) -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/