Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105227
b: refs/heads/master
c: f2ad47f
h: refs/heads/master
i:
  105225: 7d9a31f
  105223: d79c472
v: v3
  • Loading branch information
Mike Travis authored and Ingo Molnar committed Jul 20, 2008
1 parent c3b95ca commit 1ff1286
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6bca67f951f80b9e61078f8cdf5fb7b3d9e51aa9
refs/heads/master: f2ad47ffeb1d292b7c7d1e2f6aedb37646c391db
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/cpu/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ static void *c_start(struct seq_file *m, loff_t *pos)
{
if (*pos == 0) /* just in case, cpu 0 is not the first */
*pos = first_cpu(cpu_online_map);
if ((*pos) < NR_CPUS && cpu_online(*pos))
if ((*pos) < nr_cpu_ids && cpu_online(*pos))
return &cpu_data(*pos);
return NULL;
}
Expand Down

0 comments on commit 1ff1286

Please sign in to comment.