fault.c (e23c34bb41da65f354fb7eee04300c56ee48f60c) fault.c (33692f27597fcab536d7cbbcc8f52905133e4aa7)
1/*
2 * arch/microblaze/mm/fault.c
3 *
4 * Copyright (C) 2007 Xilinx, Inc. All rights reserved.
5 *
6 * Derived from "arch/ppc/mm/fault.c"
7 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
8 *

--- 210 unchanged lines hidden (view full) ---

219 fault = handle_mm_fault(mm, vma, address, flags);
220
221 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current))
222 return;
223
224 if (unlikely(fault & VM_FAULT_ERROR)) {
225 if (fault & VM_FAULT_OOM)
226 goto out_of_memory;
1/*
2 * arch/microblaze/mm/fault.c
3 *
4 * Copyright (C) 2007 Xilinx, Inc. All rights reserved.
5 *
6 * Derived from "arch/ppc/mm/fault.c"
7 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
8 *

--- 210 unchanged lines hidden (view full) ---

219 fault = handle_mm_fault(mm, vma, address, flags);
220
221 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current))
222 return;
223
224 if (unlikely(fault & VM_FAULT_ERROR)) {
225 if (fault & VM_FAULT_OOM)
226 goto out_of_memory;
227 else if (fault & VM_FAULT_SIGSEGV)
228 goto bad_area;
227 else if (fault & VM_FAULT_SIGBUS)
228 goto do_sigbus;
229 BUG();
230 }
231
232 if (flags & FAULT_FLAG_ALLOW_RETRY) {
233 if (unlikely(fault & VM_FAULT_MAJOR))
234 current->maj_flt++;

--- 70 unchanged lines hidden ---
229 else if (fault & VM_FAULT_SIGBUS)
230 goto do_sigbus;
231 BUG();
232 }
233
234 if (flags & FAULT_FLAG_ALLOW_RETRY) {
235 if (unlikely(fault & VM_FAULT_MAJOR))
236 current->maj_flt++;

--- 70 unchanged lines hidden ---