diff options
author | akpm@osdl.org <akpm@osdl.org> | 2005-04-16 15:23:55 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 15:23:55 -0700 |
commit | 2d137c24e9f433e37ffd10b3d5f418157589a8d2 (patch) | |
tree | 9924bec3f5646b6fe6eaa597ccd2f2dc6aa05673 /arch/m68k | |
parent | baaa2c512dc1c47e3afeb9d558c5323c9240bd21 (diff) |
[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>
Diffstat (limited to 'arch/m68k')
0 files changed, 0 insertions, 0 deletions