Merge tag 'powerpc-4.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux
[cascardo/linux.git] / arch / mips / dec / int-handler.S
index 41a2fa1..8c6f508 100644 (file)
@@ -267,8 +267,13 @@ handle_it:
 
 #ifdef CONFIG_32BIT
 fpu:
+               lw      t0,fpu_kstat_irq
+               nop
+               lw      t1,(t0)
+               nop
+               addu    t1,1
                j       handle_fpe_int
-                nop
+                sw     t1,(t0)
 #endif
 
 spurious: