fault.c (ecd740c6f2f092b90b95fa35f757973589eaaca2) fault.c (33692f27597fcab536d7cbbcc8f52905133e4aa7)
1/*
2 * linux/arch/m68k/mm/fault.c
3 *
4 * Copyright (C) 1995 Hamish Macdonald
5 */
6
7#include <linux/mman.h>
8#include <linux/mm.h>

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

140 pr_debug("handle_mm_fault returns %d\n", fault);
141
142 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current))
143 return 0;
144
145 if (unlikely(fault & VM_FAULT_ERROR)) {
146 if (fault & VM_FAULT_OOM)
147 goto out_of_memory;
1/*
2 * linux/arch/m68k/mm/fault.c
3 *
4 * Copyright (C) 1995 Hamish Macdonald
5 */
6
7#include <linux/mman.h>
8#include <linux/mm.h>

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

140 pr_debug("handle_mm_fault returns %d\n", fault);
141
142 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current))
143 return 0;
144
145 if (unlikely(fault & VM_FAULT_ERROR)) {
146 if (fault & VM_FAULT_OOM)
147 goto out_of_memory;
148 else if (fault & VM_FAULT_SIGSEGV)
149 goto map_err;
148 else if (fault & VM_FAULT_SIGBUS)
149 goto bus_err;
150 BUG();
151 }
152
153 /*
154 * Major/minor page fault accounting is only done on the
155 * initial attempt. If we go through a retry, it is extremely

--- 63 unchanged lines hidden ---
150 else if (fault & VM_FAULT_SIGBUS)
151 goto bus_err;
152 BUG();
153 }
154
155 /*
156 * Major/minor page fault accounting is only done on the
157 * initial attempt. If we go through a retry, it is extremely

--- 63 unchanged lines hidden ---