patch-2.1.127 linux/arch/sparc64/mm/fault.c
Next file: linux/arch/sparc64/mm/init.c
Previous file: linux/arch/sparc64/math-emu/Makefile
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Tue Oct 27 09:52:21 1998
- Orig file:
v2.1.126/linux/arch/sparc64/mm/fault.c
- Orig date:
Mon Oct 5 13:13:38 1998
diff -u --recursive --new-file v2.1.126/linux/arch/sparc64/mm/fault.c linux/arch/sparc64/mm/fault.c
@@ -1,4 +1,4 @@
-/* $Id: fault.c,v 1.24 1998/09/22 03:27:33 davem Exp $
+/* $Id: fault.c,v 1.25 1998/10/19 21:52:26 davem Exp $
* arch/sparc64/mm/fault.c: Page fault handlers for the 64-bit Sparc.
*
* Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
@@ -154,6 +154,7 @@
if(!(vma->vm_flags & (VM_READ | VM_EXEC)))
goto bad_area;
}
+ current->mm->segments = (void *) (address & PAGE_SIZE);
handle_mm_fault(current, vma, address, write);
up(&mm->mmap_sem);
return;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov