diff options
| author | Greg KH <gregkh@suse.de> | 2005-09-12 15:10:59 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-12 15:10:59 -0400 |
| commit | ad2c10f8f00d3fe2e37dd8a107e7cf4ac0459489 (patch) | |
| tree | 5571f6a5784f51efddf9c1ee0408894cd63a460f /arch/ppc/mm/fault.c | |
| parent | 6b7839007098a6b5612d31690e11277d4242e6ae (diff) | |
| parent | 2ade81473636b33aaac64495f89a7dc572c529f0 (diff) | |
Merge ../torvalds-2.6/
Diffstat (limited to 'arch/ppc/mm/fault.c')
| -rw-r--r-- | arch/ppc/mm/fault.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/ppc/mm/fault.c b/arch/ppc/mm/fault.c index 57d9930843ac..ee5e9f25baf9 100644 --- a/arch/ppc/mm/fault.c +++ b/arch/ppc/mm/fault.c | |||
| @@ -278,11 +278,7 @@ bad_area: | |||
| 278 | 278 | ||
| 279 | /* User mode accesses cause a SIGSEGV */ | 279 | /* User mode accesses cause a SIGSEGV */ |
| 280 | if (user_mode(regs)) { | 280 | if (user_mode(regs)) { |
| 281 | info.si_signo = SIGSEGV; | 281 | _exception(SIGSEGV, regs, code, address); |
| 282 | info.si_errno = 0; | ||
| 283 | info.si_code = code; | ||
| 284 | info.si_addr = (void __user *) address; | ||
| 285 | force_sig_info(SIGSEGV, &info, current); | ||
| 286 | return 0; | 282 | return 0; |
| 287 | } | 283 | } |
| 288 | 284 | ||
