WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Move console_start_sync() in INIT path
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 26 Oct 2006 12:11:33 +0000
Delivery-date: Thu, 26 Oct 2006 05:19:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] Move console_start_sync() in INIT path, Xen patchbot-unstable <=