WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [linux-2.6.18-xen] [IA64] Updated dom0_init_screen_info(

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] [IA64] Updated dom0_init_screen_info() params.
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 15 Oct 2007 11:40:13 -0700
Delivery-date: Mon, 15 Oct 2007 11:40:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] [IA64] Updated dom0_init_screen_info() params., Xen patchbot-linux-2.6.18-xen <=