direct-io.hg

changeset 11504:fcc0efacc17a

[XEN][POWERPC] Fix machine check build break.
Building exceptions.c with CRASH_DEBUG=y produces a build break, because
gcc complains about the unused variable.

Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Hollis Blanchard <hollisb@us.ibm.com>
date Fri Sep 08 10:22:45 2006 -0500 (2006-09-08)
parents 38d6cf70e8f2
children 88fb77ac4f09
files xen/arch/powerpc/exceptions.c
line diff
     1.1 --- a/xen/arch/powerpc/exceptions.c	Mon Sep 18 13:08:58 2006 -0500
     1.2 +++ b/xen/arch/powerpc/exceptions.c	Fri Sep 08 10:22:45 2006 -0500
     1.3 @@ -55,11 +55,11 @@ void do_dec(struct cpu_user_regs *regs)
     1.4  
     1.5  void program_exception(struct cpu_user_regs *regs, unsigned long cookie)
     1.6  {
     1.7 -    int recover = 0;
     1.8 -
     1.9  #ifdef CRASH_DEBUG
    1.10      __trap_to_gdb(regs, cookie);
    1.11  #else /* CRASH_DEBUG */
    1.12 +    int recover = 0;
    1.13 +
    1.14      show_registers(regs);
    1.15      printk("dar 0x%016lx, dsisr 0x%08x\n", mfdar(), mfdsisr());
    1.16      printk("hid4 0x%016lx\n", regs->hid4);