commit | db6ccbb61c1291c8aaefadcc8304444f27eeb88d | [log] [tgz] |
---|---|---|
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | Sat Jan 06 22:53:48 2007 +0000 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Sat Jan 06 22:53:48 2007 +0000 |
tree | 196718a54ccd89fe12c48383a15e0639f8ddf939 | |
parent | 4ac941d2d04ef26a91adf677f3a371818596305d [diff] |
[ARM] Fix kernel-mode undefined instruction aborts If the kernel attempts to execute a CP1 or CP2 instruction and it aborts, and a FP emulator is not loaded, we try to return as if to a user context, instead of the proper kernel context. Since the fault came from kernel mode, we must use the kernel return paths. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>