]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/cris/kernel/setup.c
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6
[mv-sheeva.git] / arch / cris / kernel / setup.c
index 04d48dd91ddf53b45b05e3f6c7188d7d03741946..b712f4934c4bb1ef8503ce3d3af4c405f1443e06 100644 (file)
@@ -166,7 +166,7 @@ void __init setup_arch(char **cmdline_p)
 
 static void *c_start(struct seq_file *m, loff_t *pos)
 {
-       return *pos < NR_CPUS ? (void *)(int)(*pos + 1): NULL;
+       return *pos < nr_cpu_ids ? (void *)(int)(*pos + 1) : NULL;
 }
 
 static void *c_next(struct seq_file *m, void *v, loff_t *pos)