Jan Beulich
2007-Dec-10 11:46 UTC
[Xen-devel] [PATCH] linux: fix native build after c/s 338
Signed-off-by: Jan Beulich <jbeulich@novell.com> 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@lists.xensource.com http://lists.xensource.com/xen-devel