summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-07-08 15:07:07 -0700
committerIngo Molnar <mingo@elte.hu>2008-07-16 11:04:13 +0200
commitb7c3c5c15936a40c79ef40af7b3bac801c7feb20 (patch)
treea14414ab41dbaef196ea72ab47e73618ef66537a /arch
parent5deb30d194d28b6bf7dacfb758267a51bf7c5b78 (diff)
downloadblackbird-op-linux-b7c3c5c15936a40c79ef40af7b3bac801c7feb20.tar.gz
blackbird-op-linux-b7c3c5c15936a40c79ef40af7b3bac801c7feb20.zip
xen: make sure the kernel command line is right
Point the boot params cmd_line_ptr to the domain-builder-provided command line. 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>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/xen/enlighten.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index 3b6b7fcf5b55..0172ba774523 100644
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -1587,6 +1587,7 @@ asmlinkage void __init xen_start_kernel(void)
boot_params.hdr.ramdisk_image = xen_start_info->mod_start
? __pa(xen_start_info->mod_start) : 0;
boot_params.hdr.ramdisk_size = xen_start_info->mod_len;
+ boot_params.hdr.cmd_line_ptr = __pa(xen_start_info->cmd_line);
if (!is_initial_xendomain()) {
add_preferred_console("xenboot", 0, NULL);
OpenPOWER on IntegriCloud