]> xenbits.xensource.com Git - people/vhanquez/xen.git/commitdiff
[XEN] Fix to previous changeset: continue to do softirq while delaying.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 20 Jun 2006 17:29:46 +0000 (18:29 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 20 Jun 2006 17:29:46 +0000 (18:29 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
xen-unstable changeset:   10469:967d4c65659a74d0609ffe482e57098c4e5b6955
xen-unstable date:        Tue Jun 20 18:28:41 2006 +0100

xen/drivers/char/console.c

index 078a9c603971bd50dcdc0d748e2c88c4559428a4..59da5f6b83ce03e8c1a6a85aad80145280ef6cbd 100644 (file)
@@ -501,7 +501,7 @@ void init_console(void)
 
 void console_endboot(int disable_vga)
 {
-    int i;
+    int i, j;
 
     if ( opt_sync_console )
     {
@@ -519,7 +519,12 @@ void console_endboot(int disable_vga)
         for ( i = 0; i < 3; i++ )
         {
             printk("%d... ", 3-i);
-            mdelay(1000);
+            for ( j = 0; j < 100; j++ )
+            {
+                if ( softirq_pending(smp_processor_id()) )
+                    do_softirq();
+                mdelay(10);
+            }
         }
         printk("\n");
     }