ia64/xen-unstable

changeset 14503:e7f49a00bc46

[POWERPC][XEN] Use correct register set in dump_execution_state().
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Hollis Blanchard <hollisb@us.ibm.com>
date Wed Mar 21 17:02:59 2007 -0500 (2007-03-21)
parents d5408cc3fba7
children 09a3bd14a4fa
files xen/arch/powerpc/backtrace.c
line diff
     1.1 --- a/xen/arch/powerpc/backtrace.c	Wed Mar 21 17:02:59 2007 -0500
     1.2 +++ b/xen/arch/powerpc/backtrace.c	Wed Mar 21 17:02:59 2007 -0500
     1.3 @@ -222,8 +222,7 @@ void __warn(char *file, int line)
     1.4  
     1.5  void dump_execution_state(void)
     1.6  {
     1.7 -    struct vcpu *v = current;
     1.8 -    struct cpu_user_regs *regs = &v->arch.ctxt;
     1.9 +    struct cpu_user_regs *regs = guest_cpu_user_regs();
    1.10  
    1.11      show_registers(regs);
    1.12      if (regs->msr & MSR_HV) {