From: akpm@osdl.org Date: Sat, 16 Apr 2005 22:23:55 +0000 (-0700) Subject: [PATCH] arm: fix SIGBUS handling X-Git-Tag: v2.6.12-rc3~242 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d137c24e9f433e37ffd10b3d5f418157589a8d2;p=pandora-kernel.git [PATCH] arm: fix SIGBUS handling ) From: Russell King 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed