fault.c (e23c34bb41da65f354fb7eee04300c56ee48f60c) fault.c (33692f27597fcab536d7cbbcc8f52905133e4aa7)
1/*
2 * linux/arch/alpha/mm/fault.c
3 *
4 * Copyright (C) 1995 Linus Torvalds
5 */
6
7#include <linux/sched.h>
8#include <linux/kernel.h>

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

151 fault = handle_mm_fault(mm, vma, address, flags);
152
153 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current))
154 return;
155
156 if (unlikely(fault & VM_FAULT_ERROR)) {
157 if (fault & VM_FAULT_OOM)
158 goto out_of_memory;
1/*
2 * linux/arch/alpha/mm/fault.c
3 *
4 * Copyright (C) 1995 Linus Torvalds
5 */
6
7#include <linux/sched.h>
8#include <linux/kernel.h>

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

151 fault = handle_mm_fault(mm, vma, address, flags);
152
153 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current))
154 return;
155
156 if (unlikely(fault & VM_FAULT_ERROR)) {
157 if (fault & VM_FAULT_OOM)
158 goto out_of_memory;
159 else if (fault & VM_FAULT_SIGSEGV)
160 goto bad_area;
159 else if (fault & VM_FAULT_SIGBUS)
160 goto do_sigbus;
161 BUG();
162 }
163
164 if (flags & FAULT_FLAG_ALLOW_RETRY) {
165 if (fault & VM_FAULT_MAJOR)
166 current->maj_flt++;

--- 92 unchanged lines hidden ---
161 else if (fault & VM_FAULT_SIGBUS)
162 goto do_sigbus;
163 BUG();
164 }
165
166 if (flags & FAULT_FLAG_ALLOW_RETRY) {
167 if (fault & VM_FAULT_MAJOR)
168 current->maj_flt++;

--- 92 unchanged lines hidden ---