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

[Xen-devel] [PATCH] linux: fix native build after c/s 338



Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

Index: sle10sp2-2007-12-10/mm/memory.c
===================================================================
--- sle10sp2-2007-12-10.orig/mm/memory.c        2007-12-10 12:35:41.000000000 
+0100
+++ sle10sp2-2007-12-10/mm/memory.c     2007-12-10 12:36:14.000000000 +0100
@@ -396,9 +396,11 @@ struct page *vm_normal_page(struct vm_ar
                        return NULL;
        }
 
+#ifdef CONFIG_XEN
        /* XEN: Covers user-space grant mappings (even of local pages). */
        if (unlikely(vma->vm_flags & VM_FOREIGN))
                return NULL;
+#endif
 
        /*
         * Add some anal sanity checks for now. Eventually,




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


 


Rackspace

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