WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] linux: fix native build after c/s 338
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Mon, 10 Dec 2007 11:46:21 +0000
Delivery-date: Mon, 10 Dec 2007 03:46:15 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] linux: fix native build after c/s 338, Jan Beulich <=