]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - mm/memory.c
ixgbe: add support for 82599 KR device 0x1517
[karo-tx-linux.git] / mm / memory.c
index 6ab19dd4a1990f3f463c1db3eee4f19ce4f5a3de..4e5945588c73f298961256c9361869d1cf9df9e2 100644 (file)
@@ -2514,7 +2514,7 @@ static int do_swap_page(struct mm_struct *mm, struct vm_area_struct *vma,
                        ret = VM_FAULT_HWPOISON;
                } else {
                        print_bad_pte(vma, address, orig_pte, NULL);
-                       ret = VM_FAULT_OOM;
+                       ret = VM_FAULT_SIGBUS;
                }
                goto out;
        }
@@ -2910,7 +2910,7 @@ static int do_nonlinear_fault(struct mm_struct *mm, struct vm_area_struct *vma,
                 * Page table corrupted: show pte and kill process.
                 */
                print_bad_pte(vma, address, orig_pte, NULL);
-               return VM_FAULT_OOM;
+               return VM_FAULT_SIGBUS;
        }
 
        pgoff = pte_to_pgoff(orig_pte);