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

[Xen-changelog] [xen-unstable] [POWERPC][XEN] Use correct register set in dump_execution_state().



# HG changeset patch
# User Hollis Blanchard <hollisb@xxxxxxxxxx>
# Date 1174514579 18000
# Node ID e7f49a00bc469faa575254f85483982ef525cf1c
# Parent  d5408cc3fba7802fc46d5364b5e9a059eeaa9520
[POWERPC][XEN] Use correct register set in dump_execution_state().
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
 xen/arch/powerpc/backtrace.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)

diff -r d5408cc3fba7 -r e7f49a00bc46 xen/arch/powerpc/backtrace.c
--- a/xen/arch/powerpc/backtrace.c      Wed Mar 21 17:02:59 2007 -0500
+++ b/xen/arch/powerpc/backtrace.c      Wed Mar 21 17:02:59 2007 -0500
@@ -222,8 +222,7 @@ void __warn(char *file, int line)
 
 void dump_execution_state(void)
 {
-    struct vcpu *v = current;
-    struct cpu_user_regs *regs = &v->arch.ctxt;
+    struct cpu_user_regs *regs = guest_cpu_user_regs();
 
     show_registers(regs);
     if (regs->msr & MSR_HV) {

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