patch-2.2.18 linux/arch/sparc/mm/sun4c.c
Next file: linux/arch/sparc/vmlinux.lds
Previous file: linux/arch/sparc/mm/srmmu.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Sep 13 16:48:19 2000
- Orig file:
v2.2.17/arch/sparc/mm/sun4c.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/sun4c.c linux/arch/sparc/mm/sun4c.c
@@ -1,4 +1,4 @@
-/* $Id: sun4c.c,v 1.173.2.5 1999/10/11 08:24:44 davem Exp $
+/* $Id: sun4c.c,v 1.173.2.6 2000/09/07 04:44:48 davem Exp $
* sun4c.c: Doing in software what should be done in hardware.
*
* Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
@@ -2420,9 +2420,9 @@
inode = dentry->d_inode;
if (inode) {
unsigned long offset = (address & PAGE_MASK) - vma->vm_start;
- struct vm_area_struct *vmaring = inode->i_mmap;
+ struct vm_area_struct *vmaring = inode->i_mmap_shared;
int alias_found = 0;
- do {
+ if (vmaring) do {
unsigned long vaddr = vmaring->vm_start + offset;
unsigned long start;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)