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

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



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID c2a8f93d0dc89af2cc4dda7116c3955c3a0f197d
# Parent  473e91b8b6cb9ef6c7c584804bd635a70a58beca
[XEN] Fix to previous changeset: continue to do softirq while delaying.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
xen-unstable changeset:   10469:967d4c65659a74d0609ffe482e57098c4e5b6955
xen-unstable date:        Tue Jun 20 18:28:41 2006 +0100
---
 xen/drivers/char/console.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff -r 473e91b8b6cb -r c2a8f93d0dc8 xen/drivers/char/console.c
--- a/xen/drivers/char/console.c        Tue Jun 20 18:22:34 2006 +0100
+++ b/xen/drivers/char/console.c        Tue Jun 20 18:29:46 2006 +0100
@@ -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");
     }

_______________________________________________
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®.