]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/vfp/vfpmodule.c
[ARM] 3499/1: Fix VFP FPSCR corruption for double exception case
[linux-2.6-omap-h63xx.git] / arch / arm / vfp / vfpmodule.c
index 37ff8145b5b50bf52ea9f22f5212068764167e5f..03486be04193e0497f8258d45d4be1ef02656258 100644 (file)
@@ -245,7 +245,7 @@ void VFP9_bounce(u32 trigger, u32 fpexc, struct pt_regs *regs)
         */
        barrier();
        trigger = fmrx(FPINST2);
-       fpscr = fmrx(FPSCR);
+       orig_fpscr = fpscr = fmrx(FPSCR);
 
  emulate:
        exceptions = vfp_emulate_instruction(trigger, fpscr, regs);