fault.c (a02001086bbfb4da35d1228bebc2f1b442db455f) | fault.c (33692f27597fcab536d7cbbcc8f52905133e4aa7) |
---|---|
1/* Page Fault Handling for ARC (TLB Miss / ProtV) 2 * 3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License version 2 as 7 * published by the Free Software Foundation. 8 */ --- 147 unchanged lines hidden (view full) --- 156 157 /* Fault Handled Gracefully */ 158 up_read(&mm->mmap_sem); 159 return; 160 } 161 162 if (fault & VM_FAULT_OOM) 163 goto out_of_memory; | 1/* Page Fault Handling for ARC (TLB Miss / ProtV) 2 * 3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License version 2 as 7 * published by the Free Software Foundation. 8 */ --- 147 unchanged lines hidden (view full) --- 156 157 /* Fault Handled Gracefully */ 158 up_read(&mm->mmap_sem); 159 return; 160 } 161 162 if (fault & VM_FAULT_OOM) 163 goto out_of_memory; |
164 else if (fault & VM_FAULT_SIGSEV) 165 goto bad_area; |
|
164 else if (fault & VM_FAULT_SIGBUS) 165 goto do_sigbus; 166 167 /* no man's land */ 168 BUG(); 169 170 /* 171 * Something tried to access memory that isn't in our memory map.. --- 54 unchanged lines hidden --- | 166 else if (fault & VM_FAULT_SIGBUS) 167 goto do_sigbus; 168 169 /* no man's land */ 170 BUG(); 171 172 /* 173 * Something tried to access memory that isn't in our memory map.. --- 54 unchanged lines hidden --- |