fault.c (0c49cd295d42d0032af11d55e2140dbec11dc8d0) | fault.c (33692f27597fcab536d7cbbcc8f52905133e4aa7) |
---|---|
1/* 2 * PowerPC version 3 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) 4 * 5 * Derived from "arch/i386/mm/fault.c" 6 * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds 7 * 8 * Modified by Cort Dougan and Paul Mackerras. --- 423 unchanged lines hidden (view full) --- 432 433 /* 434 * If for any reason at all we couldn't handle the fault, 435 * make sure we exit gracefully rather than endlessly redo 436 * the fault. 437 */ 438 fault = handle_mm_fault(mm, vma, address, flags); 439 if (unlikely(fault & (VM_FAULT_RETRY|VM_FAULT_ERROR))) { | 1/* 2 * PowerPC version 3 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) 4 * 5 * Derived from "arch/i386/mm/fault.c" 6 * Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds 7 * 8 * Modified by Cort Dougan and Paul Mackerras. --- 423 unchanged lines hidden (view full) --- 432 433 /* 434 * If for any reason at all we couldn't handle the fault, 435 * make sure we exit gracefully rather than endlessly redo 436 * the fault. 437 */ 438 fault = handle_mm_fault(mm, vma, address, flags); 439 if (unlikely(fault & (VM_FAULT_RETRY|VM_FAULT_ERROR))) { |
440 if (fault & VM_FAULT_SIGSEGV) 441 goto bad_area; |
|
440 rc = mm_fault_error(regs, address, fault); 441 if (rc >= MM_FAULT_RETURN) 442 goto bail; 443 else 444 rc = 0; 445 } 446 447 /* --- 101 unchanged lines hidden --- | 442 rc = mm_fault_error(regs, address, fault); 443 if (rc >= MM_FAULT_RETURN) 444 goto bail; 445 else 446 rc = 0; 447 } 448 449 /* --- 101 unchanged lines hidden --- |