From: Ard Biesheuvel Date: Fri, 24 May 2013 14:23:28 +0000 (+0200) Subject: ARM: be strict about FP exceptions in kernel mode X-Git-Tag: v3.12-rc1~128^2^3~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab3da15643469ab2d206dee3d9cfa4194ba77f25;p=pandora-kernel.git ARM: be strict about FP exceptions in kernel mode The support code in vfp_support_entry does not care whether the exception that caused it to be invoked occurred in kernel mode or in user mode. However, neither condition that could trigger this exception (lazy restore and VFP bounce to support code) is currently allowable in kernel mode. In either case, print a message describing the condition before letting the undefined instruction handler run its course and trigger an oops. Signed-off-by: Ard Biesheuvel Acked-by: Nicolas Pitre --- Reading git-diff-tree failed