kernel-ark/arch
akpm@osdl.org 2d137c24e9 [PATCH] arm: fix SIGBUS handling
)


From: Russell King <rmk+lkml@arm.linux.org.uk>

ARM wasn't raising a SIGBUS with a siginfo structure.  Fix
__do_user_fault() to allow us to use it for SIGBUS conditions, and arrange
for the sigbus path to use this.

We need to prevent the siginfo code being called if we do not have a user
space context to call it, so consolidate the "user_mode()" tests.

Thanks to Ian Campbell who spotted this oversight.

Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-16 15:23:55 -07:00
..
alpha Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
arm [PATCH] arm: fix SIGBUS handling 2005-04-16 15:23:55 -07:00
arm26 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cris Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
frv Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
h8300 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i386 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ia64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m32r Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m68k Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m68knommu Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mips Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
parisc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
s390 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sh Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sh64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sparc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sparc64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
um Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
v850 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
x86_64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00