aboutsummaryrefslogtreecommitdiff
path: root/arch/i386/xen/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/xen/setup.c')
-rw-r--r--arch/i386/xen/setup.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/i386/xen/setup.c b/arch/i386/xen/setup.c
index 7da93ee612f..18a994d5a4c 100644
--- a/arch/i386/xen/setup.c
+++ b/arch/i386/xen/setup.c
@@ -94,4 +94,9 @@ void __init xen_arch_setup(void)
COMMAND_LINE_SIZE : MAX_GUEST_CMDLINE);
pm_idle = xen_idle;
+
+#ifdef CONFIG_SMP
+ /* fill cpus_possible with all available cpus */
+ xen_fill_possible_map();
+#endif
}