[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:28:41 +0000 (18:28 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 20 Jun 2006 17:28:41 +0000 (18:28 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/drivers/char/console.c

index f0fe3e4eb9a580eba5d5ecebfd2267baafd1b3aa..bbb9f89a33aaa3f73a6efad2fac3d101ae00cefc 100644 (file)
@@ -504,7 +504,7 @@ void init_console(void)
 
 void console_endboot(int disable_vga)
 {
-    int i;
+    int i, j;
 
     if ( opt_sync_console )
     {
@@ -522,7 +522,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");
     }