direct-io.hg

changeset 5672:ffb406dfb170

Oh gcc4 ....how you complain soo. This patch fixes compile with gcc4
where an unintialized variable is used in a function.

Signed-off-by: Jerone Young <jerone@gmail.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Jul 06 08:46:38 2005 +0000 (2005-07-06)
parents ec3b7c87b577
children bc8cab407197
files xen/arch/x86/vmx_io.c
line diff
     1.1 --- a/xen/arch/x86/vmx_io.c	Tue Jul 05 16:08:03 2005 +0000
     1.2 +++ b/xen/arch/x86/vmx_io.c	Wed Jul 06 08:46:38 2005 +0000
     1.3 @@ -621,7 +621,7 @@ static inline int irq_masked(unsigned lo
     1.4  
     1.5  void vmx_intr_assist(struct vcpu *v) 
     1.6  {
     1.7 -    int intr_type;
     1.8 +    int intr_type = 0;
     1.9      int highest_vector = find_highest_pending_irq(v, &intr_type);
    1.10      unsigned long intr_fields, eflags, interruptibility, cpu_exec_control;
    1.11