WIP FPC-III support
[linux/fpc-iii.git] / arch / powerpc / math-emu / mffs.c
blobd42f1278e9587995a1a02239c105f8c7fd65b298
1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/types.h>
3 #include <linux/errno.h>
4 #include <linux/uaccess.h>
6 #include <asm/sfp-machine.h>
7 #include <math-emu/soft-fp.h>
9 int
10 mffs(u32 *frD)
12 frD[1] = __FPU_FPSCR;
14 #ifdef DEBUG
15 printk("%s: frD %p: %08x.%08x\n", __func__, frD, frD[0], frD[1]);
16 #endif
18 return 0;