aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc/math-emu/mffs.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/math-emu/mffs.c')
-rw-r--r--arch/ppc/math-emu/mffs.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/ppc/math-emu/mffs.c b/arch/ppc/math-emu/mffs.c
new file mode 100644
index 000000000000..f477c9170e75
--- /dev/null
+++ b/arch/ppc/math-emu/mffs.c
@@ -0,0 +1,17 @@
1#include <linux/types.h>
2#include <linux/errno.h>
3#include <asm/uaccess.h>
4
5#include "soft-fp.h"
6
7int
8mffs(u32 *frD)
9{
10 frD[1] = __FPU_FPSCR;
11
12#ifdef DEBUG
13 printk("%s: frD %p: %08x.%08x\n", __FUNCTION__, frD, frD[0], frD[1]);
14#endif
15
16 return 0;
17}