# HG changeset patch
# User Hollis Blanchard <[EMAIL PROTECTED]>
# Date 1174514579 18000
# Node ID e7f49a00bc469faa575254f85483982ef525cf1c
# Parent  d5408cc3fba7802fc46d5364b5e9a059eeaa9520
[POWERPC][XEN] Use correct register set in dump_execution_state().
Signed-off-by: Hollis Blanchard <[EMAIL PROTECTED]>
---
 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-ppc-devel mailing list
Xen-ppc-devel@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel

Reply via email to