]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] Fix kernel-mode undefined instruction aborts
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 6 Jan 2007 22:53:48 +0000 (22:53 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 6 Jan 2007 22:53:48 +0000 (22:53 +0000)
commita030c277aa3a9ca97b8c0d5aae5b36ba5422dd34
tree196718a54ccd89fe12c48383a15e0639f8ddf939
parentca5b56dcd4ca48f161eb2e1358600d04854b18c3
[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>
arch/arm/kernel/entry-armv.S