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-changelog

[Xen-changelog] [linux-2.6.18-xen] fix native build after c/s 338

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] fix native build after c/s 338
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 10 Dec 2007 08:10:14 -0800
Delivery-date: Mon, 10 Dec 2007 08:11:04 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1197287527 0
# Node ID cf9bc1ff6cde5523a41f56c0a1a54d6734b7aed3
# Parent  69d413abd6c067d688c693004f46f79d1169f0ce
fix native build after c/s 338
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 mm/memory.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 69d413abd6c0 -r cf9bc1ff6cde mm/memory.c
--- a/mm/memory.c       Fri Dec 07 00:38:40 2007 +0000
+++ b/mm/memory.c       Mon Dec 10 11:52:07 2007 +0000
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] fix native build after c/s 338, Xen patchbot-linux-2.6.18-xen <=