From: Jack Steiner Add VM_NONLINEAR to the vm_flags used to map the GRU. Signed-off-by: Jack Steiner --- drivers/misc/sgi-gru/grufile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux/drivers/misc/sgi-gru/grufile.c =================================================================== --- linux.orig/drivers/misc/sgi-gru/grufile.c 2010-06-09 08:11:39.751457793 -0500 +++ linux/drivers/misc/sgi-gru/grufile.c 2010-06-09 08:11:40.740099769 -0500 @@ -110,7 +110,7 @@ static int gru_file_mmap(struct file *fi vma->vm_flags |= (VM_IO | VM_DONTCOPY | VM_LOCKED | VM_DONTEXPAND | VM_PFNMAP | - VM_RESERVED); + VM_RESERVED | VM_NONLINEAR); vma->vm_page_prot = PAGE_SHARED; vma->vm_ops = &gru_vm_ops; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/