OSDN Git Service

[ARM] vfp: fix leak of VFP_NAN_FLAG into FPSCR
[uclinux-h8/linux.git] / arch / arm / vfp / vfpdouble.c
index febd115..009038c 100644 (file)
@@ -197,7 +197,7 @@ u32 vfp_double_normaliseround(int dd, struct vfp_double *vd, u32 fpscr, u32 exce
                         dd, d, exceptions);
                vfp_put_double(dd, d);
        }
-       return exceptions & ~VFP_NAN_FLAG;
+       return exceptions;
 }
 
 /*