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

[Xen-changelog] [xen-unstable] [IA64] Move console_start_sync() in INIT path



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 901083dace1dee72b5e207b844a00076312c3b9d
# Parent  6492b9b2796872caf7a1052fdb9236d7cc01b805
[IA64] Move console_start_sync() in INIT path

This patch moves console_start_sync() before first message in 
ia64_init_handler(), and it cleans up ia64_init_handler().

Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
---
 xen/arch/ia64/linux-xen/mca.c |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff -r 6492b9b27968 -r 901083dace1d xen/arch/ia64/linux-xen/mca.c
--- a/xen/arch/ia64/linux-xen/mca.c     Sun Oct 22 15:23:52 2006 -0600
+++ b/xen/arch/ia64/linux-xen/mca.c     Tue Oct 24 09:22:56 2006 -0600
@@ -1220,12 +1220,6 @@ ia64_init_handler (struct pt_regs *pt, s
 ia64_init_handler (struct pt_regs *pt, struct switch_stack *sw)
 {
        pal_min_state_area_t *ms;
-#ifdef XEN
-       int cpu = smp_processor_id();
-
-       printk(KERN_INFO "Entered OS INIT handler. PSP=%lx\n",
-              ia64_sal_to_os_handoff_state[cpu].proc_state_param);
-#endif
 
 #ifndef XEN
        oops_in_progress = 1;   /* avoid deadlock in printk, but it makes 
recovery dodgy */
@@ -1241,7 +1235,12 @@ ia64_init_handler (struct pt_regs *pt, s
         */
        ms = (pal_min_state_area_t 
*)(ia64_sal_to_os_handoff_state.pal_min_state | (6ul<<61));
 #else
+       int cpu = smp_processor_id();
+
        console_start_sync();
+       printk(KERN_INFO "Entered OS INIT handler. PSP=%lx\n",
+              ia64_sal_to_os_handoff_state[cpu].proc_state_param);
+
        /* Xen virtual address in region 7. */
        ms = __va((pal_min_state_area_t 
*)(ia64_sal_to_os_handoff_state[cpu].pal_min_state));
 #endif

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