patch-2.4.9 linux/arch/arm/nwfpe/fpa11_cprt.c

Next file: linux/arch/arm/nwfpe/fpmodule.c
Previous file: linux/arch/arm/nwfpe/fpa11_cpdt.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/arch/arm/nwfpe/fpa11_cprt.c linux/arch/arm/nwfpe/fpa11_cprt.c
@@ -78,6 +78,8 @@
 
 unsigned int PerformFLT(const unsigned int opcode)
 {
+   FPA11 *fpa11 = GET_FPA11();
+   
    unsigned int nRc = 1;
    SetRoundingMode(opcode);
    SetRoundingPrecision(opcode);
@@ -116,6 +118,7 @@
 
 unsigned int PerformFIX(const unsigned int opcode)
 {
+   FPA11 *fpa11 = GET_FPA11();
    unsigned int nRc = 1;
    unsigned int Fn = getFm(opcode);
    
@@ -182,6 +185,7 @@
    
 static unsigned int PerformComparison(const unsigned int opcode)
 {
+   FPA11 *fpa11 = GET_FPA11();
    unsigned int Fn, Fm;
    floatx80 rFn, rFm;
    int e_flag = opcode & 0x400000;	/* 1 if CxFE */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)