remarkable-linux/arch/arm
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
..
boot Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
common Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
configs Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kernel Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lib Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-clps711x Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-clps7500 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-ebsa110 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-epxa10db Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-footbridge Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-h720x Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-imx Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-integrator Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-iop3xx Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-ixp4xx Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-ixp2000 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-l7200 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-lh7a40x Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-omap Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-pxa Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-rpc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-s3c2410 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-sa1100 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-shark Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mach-versatile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mm [PATCH] arm: fix SIGBUS handling 2005-04-16 15:23:55 -07:00
nwfpe Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
oprofile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tools Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vfp Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig.debug Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00