summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2002-05-21 22:23:29 -0700
committerLinus Torvalds <torvalds@penguin.transmeta.com>2002-05-21 22:23:29 -0700
commit7718b60bb0071bfdb314fbe7653b2fcc4679d910 (patch)
tree7f220f2f3b7e07bfa33f03876d19f56401e1cdf8
parentc1140e63703951bbb0da4923c050d83e7375f497 (diff)
[PATCH] cris signal fix
Stephen Rothwell <sfr@canb.auug.org.au>: small typo in signal code for cris, mips and mips64: Hi Linus, This looks very obvious to me but I may be mistaken. I haven't even attempted to build this as I don't have machines of any of the affected archs. (Included in 2.4)
-rw-r--r--arch/cris/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/cris/mm/fault.c b/arch/cris/mm/fault.c
index e62134d47572..fa0a6934eed1 100644
--- a/arch/cris/mm/fault.c
+++ b/arch/cris/mm/fault.c
@@ -440,7 +440,7 @@ do_page_fault(unsigned long address, struct pt_regs *regs,
* Send a sigbus, regardless of whether we were in kernel
* or user mode.
*/
- info.si_code = SIGBUS;
+ info.si_signo = SIGBUS;
info.si_errno = 0;
info.si_code = BUS_ADRERR;
info.si_addr = (void *)address;