patch-2.3.41 linux/drivers/sgi/char/shmiq.c
Next file: linux/drivers/sound/ad1848.c
Previous file: linux/drivers/sgi/char/graphics.c
Back to the patch index
Back to the overall index
-  Lines: 17
-  Date:
Mon Jan 24 11:04:37 2000
-  Orig file: 
v2.3.40/linux/drivers/sgi/char/shmiq.c
-  Orig date: 
Fri Jan  7 19:13:22 2000
diff -u --recursive --new-file v2.3.40/linux/drivers/sgi/char/shmiq.c linux/drivers/sgi/char/shmiq.c
@@ -296,15 +296,7 @@
 }
 
 static struct vm_operations_struct qcntl_mmap = {
-	NULL,			/* no special mmap-open */
-	NULL,			/* no special mmap-close */
-	NULL,			/* no special mmap-unmap */
-	NULL,			/* no special mmap-protect */
-	NULL,			/* no special mmap-sync */
-	NULL,			/* no special mmap-advise */
-	shmiq_nopage,		/* our magic no-page fault handler */
-	NULL,			/* no special mmap-wppage */
-	NULL			/* no special mmap-swapout */
+	nopage:	shmiq_nopage,		/* our magic no-page fault handler */
 };
 
 static int
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)