[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [linux-2.6.18-xen] [IA64] Updated dom0_init_screen_info() params.
# HG changeset patch # User Keir Fraser <keir@xxxxxxxxxxxxx> # Date 1192261234 -3600 # Node ID c235ca877ee04ff2b614aa727a4d73c757de7dca # Parent 50bfa53b4a93283d3f2d450ba59487c5dccd42cf [IA64] Updated dom0_init_screen_info() params. Signed-off-by: Alex Williamson <alex.williamson@xxxxxx> --- arch/ia64/xen/hypervisor.c | 14 ++++++-------- 1 files changed, 6 insertions(+), 8 deletions(-) diff -r 50bfa53b4a93 -r c235ca877ee0 arch/ia64/xen/hypervisor.c --- a/arch/ia64/xen/hypervisor.c Sat Oct 13 08:40:08 2007 +0100 +++ b/arch/ia64/xen/hypervisor.c Sat Oct 13 08:40:34 2007 +0100 @@ -55,21 +55,19 @@ void __init void __init xen_setup(char **cmdline_p) { + struct dom0_vga_console_info *info; extern void dig_setup(char **cmdline_p); + if (ia64_platform_is("xen")) dig_setup(cmdline_p); if (!is_running_on_xen() || !is_initial_xendomain()) return; - if (xen_start_info->console.dom0.info_size >= - sizeof(struct dom0_vga_console_info)) { - const struct dom0_vga_console_info *info = - (struct dom0_vga_console_info *)( - (char *)xen_start_info + - xen_start_info->console.dom0.info_off); - dom0_init_screen_info(info); - } + info = (void *)((char *)xen_start_info + + xen_start_info->console.dom0.info_off); + dom0_init_screen_info(info, xen_start_info->console.dom0.info_size); + xen_start_info->console.domU.mfn = 0; xen_start_info->console.domU.evtchn = 0; } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |