[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [XEN] Fix to previous changeset: continue to do softirq while delaying.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 967d4c65659a74d0609ffe482e57098c4e5b6955
# Parent  06b10ad218f450732d9ed2e694b11f403edffd46
[XEN] Fix to previous changeset: continue to do softirq while delaying.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/drivers/char/console.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff -r 06b10ad218f4 -r 967d4c65659a xen/drivers/char/console.c
--- a/xen/drivers/char/console.c        Tue Jun 20 18:19:07 2006 +0100
+++ b/xen/drivers/char/console.c        Tue Jun 20 18:28:41 2006 +0100
@@ -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");
     }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.