ia64/xen-unstable
changeset 10501:967d4c65659a
[XEN] Fix to previous changeset: continue to do softirq while delaying.
Signed-off-by: Keir Fraser <keir@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author | kaf24@firebug.cl.cam.ac.uk |
---|---|
date | Tue Jun 20 18:28:41 2006 +0100 (2006-06-20) |
parents | 06b10ad218f4 |
children | 411a3c01bb40 |
files | xen/drivers/char/console.c |
line diff
1.1 --- a/xen/drivers/char/console.c Tue Jun 20 18:19:07 2006 +0100 1.2 +++ b/xen/drivers/char/console.c Tue Jun 20 18:28:41 2006 +0100 1.3 @@ -504,7 +504,7 @@ void init_console(void) 1.4 1.5 void console_endboot(int disable_vga) 1.6 { 1.7 - int i; 1.8 + int i, j; 1.9 1.10 if ( opt_sync_console ) 1.11 { 1.12 @@ -522,7 +522,12 @@ void console_endboot(int disable_vga) 1.13 for ( i = 0; i < 3; i++ ) 1.14 { 1.15 printk("%d... ", 3-i); 1.16 - mdelay(1000); 1.17 + for ( j = 0; j < 100; j++ ) 1.18 + { 1.19 + if ( softirq_pending(smp_processor_id()) ) 1.20 + do_softirq(); 1.21 + mdelay(10); 1.22 + } 1.23 } 1.24 printk("\n"); 1.25 }