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

[Xen-changelog] [xen-unstable] [POWERPC][XEN] Sync console around program exceptions



# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID 6486bc1937a420379b931a3c1e7b12169502dbbc
# Parent  1fae74cd3963f7f07e1948cd27ebce2121e6948b
[POWERPC][XEN] Sync console around program exceptions

Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
 xen/arch/powerpc/exceptions.c |    5 +++++
 1 files changed, 5 insertions(+)

diff -r 1fae74cd3963 -r 6486bc1937a4 xen/arch/powerpc/exceptions.c
--- a/xen/arch/powerpc/exceptions.c     Thu Sep 14 22:06:15 2006 -0400
+++ b/xen/arch/powerpc/exceptions.c     Fri Sep 15 18:19:46 2006 -0400
@@ -24,6 +24,7 @@
 #include <xen/sched.h>
 #include <xen/serial.h>
 #include <xen/gdbstub.h>
+#include <xen/console.h>
 #include <asm/time.h>
 #include <asm/processor.h>
 
@@ -60,6 +61,8 @@ void program_exception(struct cpu_user_r
 #else /* CRASH_DEBUG */
     int recover = 0;
 
+    console_start_sync();
+
     show_registers(regs);
     printk("dar 0x%016lx, dsisr 0x%08x\n", mfdar(), mfdsisr());
     printk("hid4 0x%016lx\n", regs->hid4);
@@ -71,5 +74,7 @@ void program_exception(struct cpu_user_r
 
     if (!recover)
         panic("%s: 0x%lx\n", __func__, cookie);
+
+    console_end_sync();
 #endif /* CRASH_DEBUG */
 }

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