X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=arch%2Fx86%2Fmm%2Ffault.c;h=8cac08822a0f734d2f3892fb0de79cf13b737842;hp=53a7b695d7a545bffc0bf9103bc716de46f81091;hb=219a047eb9a3cde86b5a341f9f8d4f6cf7e8cd56;hpb=8662a896ae1ff85dca6797a0e9977a4794b67847 diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c index 53a7b695d7a5..8cac08822a0f 100644 --- a/arch/x86/mm/fault.c +++ b/arch/x86/mm/fault.c @@ -877,6 +877,8 @@ mm_fault_error(struct pt_regs *regs, unsigned long error_code, if (fault & (VM_FAULT_SIGBUS|VM_FAULT_HWPOISON| VM_FAULT_HWPOISON_LARGE)) do_sigbus(regs, error_code, address, fault); + else if (fault & VM_FAULT_SIGSEGV) + bad_area_nosemaphore(regs, error_code, address); else BUG(); }