ia64/xen-unstable

changeset 11825:6cdd56dd79bc

[IA64] sync_console in ia64_init_handler

This patch fix the following issue.

1. boot xen
2. push INIT bottun
3. Nothing is printed to serial console.

I add console_start_sync() into ia64_init_handler().
Then this issue is fixed.

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
author awilliam@xenbuild.aw
date Sun Oct 22 13:57:29 2006 -0600 (2006-10-22)
parents ee7799388ab1
children 463658ccf683
files xen/arch/ia64/linux-xen/mca.c
line diff
     1.1 --- a/xen/arch/ia64/linux-xen/mca.c	Wed Oct 18 22:07:18 2006 -0600
     1.2 +++ b/xen/arch/ia64/linux-xen/mca.c	Sun Oct 22 13:57:29 2006 -0600
     1.3 @@ -80,6 +80,7 @@
     1.4  #ifdef XEN
     1.5  #include <xen/symbols.h>
     1.6  #include <xen/mm.h>
     1.7 +#include <xen/console.h>
     1.8  #endif
     1.9  
    1.10  #if defined(IA64_MCA_DEBUG_INFO)
    1.11 @@ -1240,6 +1241,7 @@ ia64_init_handler (struct pt_regs *pt, s
    1.12  	 */
    1.13  	ms = (pal_min_state_area_t *)(ia64_sal_to_os_handoff_state.pal_min_state | (6ul<<61));
    1.14  #else
    1.15 +	console_start_sync();
    1.16  	/* Xen virtual address in region 7. */
    1.17  	ms = __va((pal_min_state_area_t *)(ia64_sal_to_os_handoff_state[cpu].pal_min_state));
    1.18  #endif