patch-2.2.18 linux/arch/sparc/mm/srmmu.c
Next file: linux/arch/sparc/mm/sun4c.c
Previous file: linux/arch/sparc/lib/muldi3.S
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Wed Sep 13 16:48:19 2000
- Orig file:
v2.2.17/arch/sparc/mm/srmmu.c
- Orig date:
Fri Apr 21 12:45:48 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/arch/sparc/mm/srmmu.c linux/arch/sparc/mm/srmmu.c
@@ -1,4 +1,4 @@
-/* $Id: srmmu.c,v 1.187.2.9 2000/03/05 17:39:18 davem Exp $
+/* $Id: srmmu.c,v 1.187.2.10 2000/09/07 04:44:48 davem Exp $
* srmmu.c: SRMMU specific routines for memory management.
*
* Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
@@ -2056,8 +2056,8 @@
goto done;
inode = file->f_dentry->d_inode;
offset = (address & PAGE_MASK) - vma->vm_start;
- vmaring = inode->i_mmap;
- do {
+ vmaring = inode->i_mmap_shared;
+ if (vmaring) do {
/* Do not mistake ourselves as another mapping. */
if(vmaring == vma)
continue;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)