ia64/xen-unstable

changeset 4046:7b29eaf0d790

bitkeeper revision 1.1236.12.23 (422f244fdQRUPxMUG1aht7dZl272hw)

ISO C90 forbids mixed declarations and code.
Signed-off-by: bin.ren@cl.cam.ac.uk
author bren@br260.wolfson.cam.ac.uk
date Wed Mar 09 16:29:03 2005 +0000 (2005-03-09)
parents fec6466347ca
children cf2f74cc53af
files linux-2.6.10-xen-sparse/arch/xen/i386/mm/ioremap.c
line diff
     1.1 --- a/linux-2.6.10-xen-sparse/arch/xen/i386/mm/ioremap.c	Wed Mar 09 16:01:32 2005 +0000
     1.2 +++ b/linux-2.6.10-xen-sparse/arch/xen/i386/mm/ioremap.c	Wed Mar 09 16:29:03 2005 +0000
     1.3 @@ -362,7 +362,9 @@ int __direct_remap_area_pages(struct mm_
     1.4  	spin_lock(&mm->page_table_lock);
     1.5  	do {
     1.6  		error = -ENOMEM;
     1.7 -		pmd_t *pmd = pmd_alloc(mm, dir, address);
     1.8 +		pmd_t *pmd;
     1.9 +
    1.10 +		pmd = pmd_alloc(mm, dir, address);
    1.11  		if (!pmd)
    1.12  			break;
    1.13  		error = 0;