direct-io.hg

changeset 3776:d9449b5a8d64

bitkeeper revision 1.1170.1.1 (420b98f5HLKkq19C9PxLpNFZOD2-mg)

Make it compile in the non-crash_debug case.
author sos22@douglas.cl.cam.ac.uk
date Thu Feb 10 17:25:09 2005 +0000 (2005-02-10)
parents 9ee09144e830
children c37c674174f7
files xen/common/keyhandler.c xen/include/asm-x86/debugger.h
line diff
     1.1 --- a/xen/common/keyhandler.c	Thu Feb 10 17:16:20 2005 +0000
     1.2 +++ b/xen/common/keyhandler.c	Thu Feb 10 17:25:09 2005 +0000
     1.3 @@ -149,7 +149,7 @@ extern void perfc_reset(unsigned char ke
     1.4  
     1.5  void do_debug_key(unsigned char key, struct xen_regs *regs)
     1.6  {
     1.7 -    debugger_trap_fatal(0xf001, regs);
     1.8 +    (void)debugger_trap_fatal(0xf001, regs);
     1.9      asm volatile ("nop"); /* Prevent the compiler doing tail call
    1.10                               optimisation, as that confuses xendbg a
    1.11                               bit. */
     2.1 --- a/xen/include/asm-x86/debugger.h	Thu Feb 10 17:16:20 2005 +0000
     2.2 +++ b/xen/include/asm-x86/debugger.h	Thu Feb 10 17:25:09 2005 +0000
     2.3 @@ -123,7 +123,7 @@ static inline int debugger_trap_fatal(
     2.4  
     2.5  #define debugger_trap_entry(_v, _r) (0)
     2.6  #define debugger_trap_fatal(_v, _r) (0)
     2.7 -#define debugger_trap_immediate() ()
     2.8 +#define debugger_trap_immediate()
     2.9  
    2.10  #endif
    2.11