]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/kernel/setup-common.c
[PATCH] for_each_possible_cpu: powerpc
[linux-2.6-omap-h63xx.git] / arch / powerpc / kernel / setup-common.c
index 3473cb9cb0ab47da334c184d23796b18722e055f..c607f3b9ca17494ce7a1f93ddac8d811ce66b997 100644 (file)
@@ -431,7 +431,7 @@ void __init smp_setup_cpu_maps(void)
        /*
         * Do the sibling map; assume only two threads per processor.
         */
-       for_each_cpu(cpu) {
+       for_each_possible_cpu(cpu) {
                cpu_set(cpu, cpu_sibling_map[cpu]);
                if (cpu_has_feature(CPU_FTR_SMT))
                        cpu_set(cpu ^ 0x1, cpu_sibling_map[cpu]);