Skip to content
Commit db6ccbb6 authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 4ac941d2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment