ia64/xen-unstable

changeset 6209:7d8ed9e538ff

In direct_remap_area_pages, reset w pointer for next loop after use.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Tue Aug 16 16:33:12 2005 +0000 (2005-08-16)
parents 3d187585c141
children 92dda07a28f8
files linux-2.6-xen-sparse/arch/xen/i386/mm/ioremap.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/xen/i386/mm/ioremap.c	Tue Aug 16 11:20:47 2005 +0000
     1.2 +++ b/linux-2.6-xen-sparse/arch/xen/i386/mm/ioremap.c	Tue Aug 16 16:33:12 2005 +0000
     1.3 @@ -335,7 +335,7 @@ int direct_remap_area_pages(struct mm_st
     1.4                          generic_page_range(mm, start_address, 
     1.5                                             address-start_address,
     1.6                                             direct_remap_area_pte_fn, &w);
     1.7 - 
     1.8 +                        w = u;
     1.9  			if (HYPERVISOR_mmu_update(u, v - u, NULL, domid) < 0)
    1.10  				return -EFAULT;
    1.11  			v = u;