patch-2.4.22 linux-2.4.22/arch/arm/nwfpe/fpa11.inl
Next file: linux-2.4.22/arch/arm/nwfpe/fpa11_cpdo.c
Previous file: linux-2.4.22/arch/arm/nwfpe/fpa11.h
Back to the patch index
Back to the overall index
- Lines: 40
- Date:
2003-08-25 04:44:39.000000000 -0700
- Orig file:
linux-2.4.21/arch/arm/nwfpe/fpa11.inl
- Orig date:
2001-08-12 11:13:59.000000000 -0700
diff -urN linux-2.4.21/arch/arm/nwfpe/fpa11.inl linux-2.4.22/arch/arm/nwfpe/fpa11.inl
@@ -24,28 +24,28 @@
/* Read and write floating point status register */
extern __inline__ unsigned int readFPSR(void)
{
- FPA11 *fpa11 = GET_FPA11();
- return(fpa11->fpsr);
+ FPA11 *fpa11 = GET_FPA11();
+ return (fpa11->fpsr);
}
extern __inline__ void writeFPSR(FPSR reg)
{
- FPA11 *fpa11 = GET_FPA11();
- /* the sysid byte in the status register is readonly */
- fpa11->fpsr = (fpa11->fpsr & MASK_SYSID) | (reg & ~MASK_SYSID);
+ FPA11 *fpa11 = GET_FPA11();
+ /* the sysid byte in the status register is readonly */
+ fpa11->fpsr = (fpa11->fpsr & MASK_SYSID) | (reg & ~MASK_SYSID);
}
/* Read and write floating point control register */
extern __inline__ FPCR readFPCR(void)
{
- FPA11 *fpa11 = GET_FPA11();
- /* clear SB, AB and DA bits before returning FPCR */
- return(fpa11->fpcr & ~MASK_RFC);
+ FPA11 *fpa11 = GET_FPA11();
+ /* clear SB, AB and DA bits before returning FPCR */
+ return (fpa11->fpcr & ~MASK_RFC);
}
extern __inline__ void writeFPCR(FPCR reg)
{
- FPA11 *fpa11 = GET_FPA11();
- fpa11->fpcr &= ~MASK_WFC; /* clear SB, AB and DA bits */
- fpa11->fpcr |= (reg & MASK_WFC); /* write SB, AB and DA bits */
+ FPA11 *fpa11 = GET_FPA11();
+ fpa11->fpcr &= ~MASK_WFC; /* clear SB, AB and DA bits */
+ fpa11->fpcr |= (reg & MASK_WFC); /* write SB, AB and DA bits */
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)