ia64/xen-unstable

changeset 9824:1171e42b900f

Fix VM_RESERVED check in vm_normal_page(). Pointed out by
Isaku Yamahata.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Sat Apr 22 09:45:45 2006 +0100 (2006-04-22)
parents 8db5ac82c20f
children d0a632bea419
files linux-2.6-xen-sparse/mm/memory.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/mm/memory.c	Fri Apr 21 18:09:32 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/mm/memory.c	Sat Apr 22 09:45:45 2006 +0100
     1.3 @@ -405,7 +405,7 @@ struct page *vm_normal_page(struct vm_ar
     1.4  	 * Remove this test eventually!
     1.5  	 */
     1.6  	if (unlikely(!pfn_valid(pfn))) {
     1.7 -		if (!vma->vm_flags & VM_RESERVED)
     1.8 +		if (!(vma->vm_flags & VM_RESERVED))
     1.9  			print_bad_pte(vma, pte, addr);
    1.10  		return NULL;
    1.11  	}