mffs.c 282 B

12345678910111213141516171819
  1. #include <linux/types.h>
  2. #include <linux/errno.h>
  3. #include <asm/uaccess.h>
  4. #include <asm/sfp-machine.h>
  5. #include <math-emu/soft-fp.h>
  6. int
  7. mffs(u32 *frD)
  8. {
  9. frD[1] = __FPU_FPSCR;
  10. #ifdef DEBUG
  11. printk("%s: frD %p: %08x.%08x\n", __func__, frD, frD[0], frD[1]);
  12. #endif
  13. return 0;
  14. }