From ca317eac52b238c7dc1c0439c5e279f260b7a91e Mon Sep 17 00:00:00 2001 From: Jeremy Fitzhardinge Date: Tue, 8 Jul 2008 15:06:56 -0700 Subject: [PATCH] --- yaml --- r: 104428 b: refs/heads/master c: 4560a2947e32670fc6ede108c2b032c396180649 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/x86/xen/smp.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 14dfa5860701..80fc41eb36bd 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ce803e705f1cbdd2703e83061622089b5b4a5417 +refs/heads/master: 4560a2947e32670fc6ede108c2b032c396180649 diff --git a/trunk/arch/x86/xen/smp.c b/trunk/arch/x86/xen/smp.c index 800bb2191e2a..8310ca0ea375 100644 --- a/trunk/arch/x86/xen/smp.c +++ b/trunk/arch/x86/xen/smp.c @@ -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); + } } }