fault.c (f26e8817b235d8764363bffcc9cbfc61867371f2) | fault.c (68acfdcb477abdbf875e33e4a950094c8de08f41) |
---|---|
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> --- 18 unchanged lines hidden (view full) --- 27 siginfo.si_addr = (void *)current->thread.faddr; 28 pr_debug("send_fault_sig: %p,%d,%d\n", siginfo.si_addr, 29 siginfo.si_signo, siginfo.si_code); 30 31 if (user_mode(regs)) { 32 force_sig_info(siginfo.si_signo, 33 &siginfo, current); 34 } else { | 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> --- 18 unchanged lines hidden (view full) --- 27 siginfo.si_addr = (void *)current->thread.faddr; 28 pr_debug("send_fault_sig: %p,%d,%d\n", siginfo.si_addr, 29 siginfo.si_signo, siginfo.si_code); 30 31 if (user_mode(regs)) { 32 force_sig_info(siginfo.si_signo, 33 &siginfo, current); 34 } else { |
35 if (handle_kernel_fault(regs)) | 35 if (fixup_exception(regs)) |
36 return -1; 37 38 //if (siginfo.si_signo == SIGBUS) 39 // force_sig_info(siginfo.si_signo, 40 // &siginfo, current); 41 42 /* 43 * Oops. The kernel tried to access some bad page. We'll have to --- 177 unchanged lines hidden --- | 36 return -1; 37 38 //if (siginfo.si_signo == SIGBUS) 39 // force_sig_info(siginfo.si_signo, 40 // &siginfo, current); 41 42 /* 43 * Oops. The kernel tried to access some bad page. We'll have to --- 177 unchanged lines hidden --- |