[PATCH] x86_64: Fix SRAT handling on non dual core systems
authorAndi Kleen <ak@suse.de>
Fri, 29 Jul 2005 04:15:50 +0000 (21:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Jul 2005 04:46:02 +0000 (21:46 -0700)
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/setup.c

index 0c7ec94004a21238da6b4174f5a983f7dc49ffa7..0aa526298e92948cb5bd909304ff635e575f2360 100644 (file)
@@ -765,8 +765,6 @@ static void __init amd_detect_cmp(struct cpuinfo_x86 *c)
        int cpu = smp_processor_id();
        int node = 0;
        unsigned bits;
        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)
 
        bits = 0;
        while ((1 << bits) < c->x86_num_cores)