Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104428
b: refs/heads/master
c: 4560a29
h: refs/heads/master
v: v3
  • Loading branch information
Jeremy Fitzhardinge authored and Ingo Molnar committed Jul 16, 2008
1 parent dd9dff7 commit ca317ea
Show file tree
Hide file tree
Showing 2 changed files with 4 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: ce803e705f1cbdd2703e83061622089b5b4a5417
refs/heads/master: 4560a2947e32670fc6ede108c2b032c396180649
4 changes: 3 additions & 1 deletion trunk/arch/x86/xen/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,10 @@ static void __init xen_fill_possible_map(void)

for (i = 0; i < NR_CPUS; i++) {
rc = HYPERVISOR_vcpu_op(VCPUOP_is_up, i, NULL);
if (rc >= 0)
if (rc >= 0) {
num_processors++;
cpu_set(i, cpu_possible_map);
}
}
}

Expand Down

0 comments on commit ca317ea

Please sign in to comment.