ia64/xen-unstable

changeset 6015:4012e919dac0

The attached trivial patch fixes a spurious gcc-4.0 warning in
xen/arch/x86/mm.c when building the current hg tip. Due to -Werror,
this breaks builds with gcc-4.0.

Signed-off-by: Josh Triplett <josht@us.ibm.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Aug 03 09:34:37 2005 +0000 (2005-08-03)
parents 18bb29989371
children 63995acdd34a
files xen/arch/x86/mm.c
line diff
     1.1 --- a/xen/arch/x86/mm.c	Wed Aug 03 09:33:09 2005 +0000
     1.2 +++ b/xen/arch/x86/mm.c	Wed Aug 03 09:34:37 2005 +0000
     1.3 @@ -1040,7 +1040,7 @@ static int mod_l2_entry(l2_pgentry_t *pl
     1.4                          unsigned int type)
     1.5  {
     1.6      l2_pgentry_t ol2e;
     1.7 -    unsigned long vaddr;
     1.8 +    unsigned long vaddr = 0;
     1.9  
    1.10      if ( unlikely(!is_guest_l2_slot(type,pgentry_ptr_to_slot(pl2e))) )
    1.11      {