Messages in this thread Patch in this message | | | Date | Thu, 11 Aug 2005 15:54:47 -0700 | From | Chris Wright <> | Subject | [patch 2/8] [PATCH] Fix SRAT for non dual core AMD systems |
| |
-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 <ak@suse.de> Signed-off-by: Chris Wright <chrisw@osdl.org>
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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |