]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - mm/fremap.c
sched: fix formatting of /proc/sched_debug
[linux-2.6-omap-h63xx.git] / mm / fremap.c
index c395b1abf08275dc1d22a570f259f495cdb2cbc7..95bcb5641c722b6f4d7eb49801320e0a266f7c83 100644 (file)
@@ -160,7 +160,7 @@ asmlinkage long sys_remap_file_pages(unsigned long start, unsigned long size,
        if (vma->vm_private_data && !(vma->vm_flags & VM_NONLINEAR))
                goto out;
 
-       if (!vma->vm_flags & VM_CAN_NONLINEAR)
+       if (!(vma->vm_flags & VM_CAN_NONLINEAR))
                goto out;
 
        if (end <= start || start < vma->vm_start || end > vma->vm_end)