summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-02-18 00:24:27 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-02-18 00:24:27 +0000
commitb9558d5f86c471a125abf1fb3a3882fb053b1f8c (patch)
tree707b53ec64e740a7da87d5f36485e3cd9b1c794e /ipc
parentb3ac367c7a3e6047abe74817db27e34e759f279f (diff)
Merge with Linux 2.3.41.
Diffstat (limited to 'ipc')
-rw-r--r--ipc/shm.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/ipc/shm.c b/ipc/shm.c
index 8b4976195..1b3855450 100644
--- a/ipc/shm.c
+++ b/ipc/shm.c
@@ -584,15 +584,10 @@ out_unlock:
*/
static struct vm_operations_struct shm_vm_ops = {
- shm_open, /* open - callback for a new vm-area open */
- shm_close, /* close - callback for when the vm-area is released */
- NULL, /* no need to sync pages at unmap */
- NULL, /* protect */
- NULL, /* sync */
- NULL, /* advise */
- shm_nopage, /* nopage */
- NULL, /* wppage */
- shm_swapout /* swapout */
+ open: shm_open, /* open - callback for a new vm-area open */
+ close: shm_close, /* close - callback for when the vm-area is released */
+ nopage: shm_nopage,
+ swapout: shm_swapout,
};
/* Insert shmd into the list shp->attaches */