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/
Home Products Support Community News


[XenPPC] [xenppc-unstable] [ppc] synchronize console on BUG()

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [xenppc-unstable] [ppc] synchronize console on BUG()
From: Xen patchbot-xenppc-unstable <patchbot-xenppc-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 29 Jun 2006 17:10:42 +0000
Delivery-date: Thu, 29 Jun 2006 10:14:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID e06866a6e2b745cece7dc748f37323367a1577ed
# Parent  3f312d18514474bdf7b21a427d7c71e3bc88a323
[ppc] synchronize console on BUG()

This patch was submitted upstream.

Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
 xen/include/xen/lib.h |    3 +++
 1 files changed, 3 insertions(+)

diff -r 3f312d185144 -r e06866a6e2b7 xen/include/xen/lib.h
--- a/xen/include/xen/lib.h     Thu Jun 29 12:52:54 2006 -0400
+++ b/xen/include/xen/lib.h     Thu Jun 29 13:10:42 2006 -0400
@@ -8,7 +8,10 @@
 #include <xen/xmalloc.h>
 #include <xen/string.h>
+extern void console_start_sync(void);
+extern void console_end_sync(void);
 #define BUG() do {                                     \
+        console_start_sync(); \
     debugtrace_dump();                                  \
     printk("BUG at %s:%d\n", __FILE__, __LINE__);      \
     FORCE_CRASH();                                      \

Xen-ppc-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>