aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris
diff options
context:
space:
mode:
Diffstat (limited to 'arch/cris')
-rw-r--r--arch/cris/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/cris/kernel/setup.c b/arch/cris/kernel/setup.c
index 04d48dd91ddf..b712f4934c4b 100644
--- a/arch/cris/kernel/setup.c
+++ b/arch/cris/kernel/setup.c
@@ -166,7 +166,7 @@ void __init setup_arch(char **cmdline_p)
166 166
167static void *c_start(struct seq_file *m, loff_t *pos) 167static void *c_start(struct seq_file *m, loff_t *pos)
168{ 168{
169 return *pos < NR_CPUS ? (void *)(int)(*pos + 1): NULL; 169 return *pos < nr_cpu_ids ? (void *)(int)(*pos + 1) : NULL;
170} 170}
171 171
172static void *c_next(struct seq_file *m, void *v, loff_t *pos) 172static void *c_next(struct seq_file *m, void *v, loff_t *pos)