diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2009-04-02 10:02:42 -0400 |
---|---|---|
committer | Jesper Nilsson <jesper.nilsson@axis.com> | 2009-04-02 10:02:42 -0400 |
commit | 276e79ee6b3ff670dc9c041178da4b61af456a27 (patch) | |
tree | a6ac263bb1a5ae942bd78c70eee1cd9cef53dd80 /arch/cris/kernel | |
parent | 3b5a53689730bef6cb4dfde1de53e836e5299547 (diff) | |
parent | b9d65c04773850ff3a82f69d43981be650e658a1 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-cpumask-for-cris into for-next
Diffstat (limited to 'arch/cris/kernel')
-rw-r--r-- | arch/cris/kernel/setup.c | 2 |
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 | ||
167 | static void *c_start(struct seq_file *m, loff_t *pos) | 167 | static 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 | ||
172 | static void *c_next(struct seq_file *m, void *v, loff_t *pos) | 172 | static void *c_next(struct seq_file *m, void *v, loff_t *pos) |