vga: Only vga_endboot() if vga_init() completed.
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 11 Dec 2008 13:09:59 +0000 (13:09 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 11 Dec 2008 13:09:59 +0000 (13:09 +0000)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/drivers/video/vga.c

index 7595909e55ce38c34e2eb53269c555a865a73d18..f64dc06eca619ecefdd91ae5d2fa351f8183c31b 100644 (file)
@@ -99,7 +99,7 @@ void __init vga_init(void)
 
 void __init vga_endboot(void)
 {
-    if ( !vga_console_info.video_type )
+    if ( vga_puts == vga_noop_puts )
         return;
 
     printk("Xen is %s VGA console.\n",