ia64/xen-unstable
changeset 10286:7f219d68e684
[LINUX] Fix cpu_possible_map initialisation.
Signed-off-by: Keir Fraser <keir@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author | kaf24@firebug.cl.cam.ac.uk |
---|---|
date | Thu Jun 01 19:14:42 2006 +0100 (2006-06-01) |
parents | 2fd7f4fb7d14 |
children | 8c6ff337d164 |
files | linux-2.6-xen-sparse/drivers/xen/core/smpboot.c |
line diff
1.1 --- a/linux-2.6-xen-sparse/drivers/xen/core/smpboot.c Thu Jun 01 19:07:40 2006 +0100 1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/core/smpboot.c Thu Jun 01 19:14:42 2006 +0100 1.3 @@ -89,9 +89,8 @@ void __init prefill_possible_map(void) 1.4 1.5 for (i = 0; i < NR_CPUS; i++) { 1.6 rc = HYPERVISOR_vcpu_op(VCPUOP_is_up, i, NULL); 1.7 - if (rc == -ENOENT) 1.8 - break; 1.9 - cpu_set(i, cpu_possible_map); 1.10 + if (rc >= 0) 1.11 + cpu_set(i, cpu_possible_map); 1.12 } 1.13 } 1.14