]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sh/kernel/setup.c
[PATCH] for_each_possible_cpu: sh
[linux-2.6-omap-h63xx.git] / arch / sh / kernel / setup.c
index 7ee4ca203616fee32ae01be36eab00ec2cab026a..bb229ef030f3cbf70c5afa777cd50e194fed6025 100644 (file)
@@ -401,7 +401,7 @@ static int __init topology_init(void)
 {
        int cpu_id;
 
-       for_each_cpu(cpu_id)
+       for_each_possible_cpu(cpu_id)
                register_cpu(&cpu[cpu_id], cpu_id, NULL);
 
        return 0;