[ARM] 4629/1: Fix VFP emulation code to clear all exception flags of FPEXC

All exception flags of the FPEXC register must be cleared before
returning from exception code to user code, including FP2V and OFC.

Signed-off-by: Takashi Ohmasa <ohmasa.takashi@jp.panasonic.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by Takashi Ohmasa and committed by Russell King 67f18f34 0825c672

+1 -1
+1 -1
arch/arm/vfp/vfpmodule.c
··· 229 229 /* 230 230 * Enable access to the VFP so we can handle the bounce. 231 231 */ 232 - fmxr(FPEXC, fpexc & ~(FPEXC_EX|FPEXC_INV|FPEXC_UFC|FPEXC_IOC)); 232 + fmxr(FPEXC, fpexc & ~(FPEXC_EX|FPEXC_FPV2|FPEXC_INV|FPEXC_UFC|FPEXC_OFC|FPEXC_IOC)); 233 233 234 234 orig_fpscr = fpscr = fmrx(FPSCR); 235 235