diff options
-rw-r--r-- | arch/x86/xen/enlighten.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 27ee26aedf94..198db49106b2 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <linux/mm.h> | 25 | #include <linux/mm.h> |
26 | #include <linux/page-flags.h> | 26 | #include <linux/page-flags.h> |
27 | #include <linux/highmem.h> | 27 | #include <linux/highmem.h> |
28 | #include <linux/console.h> | ||
28 | 29 | ||
29 | #include <xen/interface/xen.h> | 30 | #include <xen/interface/xen.h> |
30 | #include <xen/interface/physdev.h> | 31 | #include <xen/interface/physdev.h> |
@@ -1228,6 +1229,9 @@ asmlinkage void __init xen_start_kernel(void) | |||
1228 | ? __pa(xen_start_info->mod_start) : 0; | 1229 | ? __pa(xen_start_info->mod_start) : 0; |
1229 | boot_params.hdr.ramdisk_size = xen_start_info->mod_len; | 1230 | boot_params.hdr.ramdisk_size = xen_start_info->mod_len; |
1230 | 1231 | ||
1232 | if (!is_initial_xendomain()) | ||
1233 | add_preferred_console("hvc", 0, NULL); | ||
1234 | |||
1231 | /* Start the world */ | 1235 | /* Start the world */ |
1232 | start_kernel(); | 1236 | start_kernel(); |
1233 | } | 1237 | } |