projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce803e7
)
xen: set num_processors
author
Jeremy Fitzhardinge
<jeremy@goop.org>
Tue, 8 Jul 2008 22:06:56 +0000
(15:06 -0700)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 16 Jul 2008 09:01:31 +0000
(11:01 +0200)
Someone's got to do it.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Stephen Tweedie <sct@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/xen/smp.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/xen/smp.c
b/arch/x86/xen/smp.c
index 800bb2191e2a37858f954fb27bc7c61cb25b8420..8310ca0ea3758d30179801ada96732bea302887f 100644
(file)
--- a/
arch/x86/xen/smp.c
+++ b/
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);
+ }
}
}