]> err.no Git - linux-2.6/commit
[ARM] 3748/3: Correct error check in vfp_raise_exceptions
authorDaniel Jacobowitz <drow@false.org>
Sun, 27 Aug 2006 11:42:08 +0000 (12:42 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 27 Aug 2006 11:42:08 +0000 (12:42 +0100)
commit7c6f25141b88b5e926f9d43932ce668602d611ae
tree50553a8e12aa4918eb3723ba3682e9ba2ca1e025
parent3a13813e6effcfad5910d47b15b724621b50b878
[ARM] 3748/3: Correct error check in vfp_raise_exceptions

Patch from Daniel Jacobowitz

The recent fix to hide VFP_NAN_FLAG broke the check in vfp_raise_exceptions;
it would attempt to deliver an exception mask of 0xfffffeff instead of reporting
a serious error condition using printk.  Define a safe constant to use for
an invalid exception maskm, and use it at both ends.

Signed-off-by: Daniel Jacobowitz <dan@codesourcery.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/vfp/vfp.h
arch/arm/vfp/vfpmodule.c