]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/ia64/kernel/setup.c
Pull pvops into release branch
[karo-tx-linux.git] / arch / ia64 / kernel / setup.c
index 4ed3e1c117e73b57ecb2815e49642e18d671f7de..833b3ef92779b634462a907cce1713ec8109c74d 100644 (file)
@@ -732,10 +732,10 @@ static void *
 c_start (struct seq_file *m, loff_t *pos)
 {
 #ifdef CONFIG_SMP
-       while (*pos < NR_CPUS && !cpu_isset(*pos, cpu_online_map))
+       while (*pos < nr_cpu_ids && !cpu_online(*pos))
                ++*pos;
 #endif
-       return *pos < NR_CPUS ? cpu_data(*pos) : NULL;
+       return *pos < nr_cpu_ids ? cpu_data(*pos) : NULL;
 }
 
 static void *