patch-2.3.26 linux/drivers/sgi/char/shmiq.c

Next file: linux/drivers/sound/maestro.c
Previous file: linux/drivers/sgi/char/graphics.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.25/linux/drivers/sgi/char/shmiq.c linux/drivers/sgi/char/shmiq.c
@@ -318,7 +318,7 @@
 	if (minor-- == 0)
 		return -EINVAL;
 
-	if (vma->vm_offset != 0)
+	if (vma->vm_pgoff)
 		return -EINVAL;
 
 	size  = vma->vm_end - vma->vm_start;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)