[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] In direct_remap_area_pages, reset w pointer for next loop after use.



# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID 7d8ed9e538ff53f5345db7f5a870933db493ad12
# Parent  3d187585c1415fbb14cb285cc71e0ff0faf81e67
In direct_remap_area_pages, reset w pointer for next loop after use.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r 3d187585c141 -r 7d8ed9e538ff 
linux-2.6-xen-sparse/arch/xen/i386/mm/ioremap.c
--- a/linux-2.6-xen-sparse/arch/xen/i386/mm/ioremap.c   Tue Aug 16 11:20:47 2005
+++ b/linux-2.6-xen-sparse/arch/xen/i386/mm/ioremap.c   Tue Aug 16 16:33:12 2005
@@ -335,7 +335,7 @@
                         generic_page_range(mm, start_address, 
                                            address-start_address,
                                            direct_remap_area_pte_fn, &w);
- 
+                        w = u;
                        if (HYPERVISOR_mmu_update(u, v - u, NULL, domid) < 0)
                                return -EFAULT;
                        v = u;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.