Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105229
b: refs/heads/master
c: 1bd9d6b
h: refs/heads/master
i:
  105227: 1ff1286
v: v3
  • Loading branch information
Mike Travis authored and Ingo Molnar committed Jul 20, 2008
1 parent dd01e25 commit f67bfc2
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: 247bc6ca0f691e4617e7bdb70cbaccc939f754ec
refs/heads/master: 1bd9d6b64e1474f1a03f8660e8721d746cffae57
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/genapic_flat_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ static unsigned int physflat_cpu_mask_to_apicid(cpumask_t cpumask)
* May as well be the first.
*/
cpu = first_cpu(cpumask);
if ((unsigned)cpu < NR_CPUS)
if ((unsigned)cpu < nr_cpu_ids)
return per_cpu(x86_cpu_to_apicid, cpu);
else
return BAD_APICID;
Expand Down

0 comments on commit f67bfc2

Please sign in to comment.