x86/64: Fix the build.
authorKeir Fraser <keir@xensource.com>
Fri, 12 Oct 2007 12:06:16 +0000 (13:06 +0100)
committerKeir Fraser <keir@xensource.com>
Fri, 12 Oct 2007 12:06:16 +0000 (13:06 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/drivers/video/vesa.c

index 04064f786d4dec18537ec81999ff75d989793bf3..d18476421c692922a4fc37d899a830d9f9136b5f 100644 (file)
@@ -46,7 +46,7 @@ void __init vesa_early_init(void)
 {
     unsigned int vram_vmode;
 
-    vga_compat = !(vesa_lfb_info.capabilities & 2);
+    vga_compat = !(vga_console_info.u.vesa_lfb.gbl_caps & 2);
 
     if ( (vlfb_info.bits_per_pixel < 8) || (vlfb_info.bits_per_pixel > 32) )
         return;