]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/powerpc/math-emu/mffs.c
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / arch / powerpc / math-emu / mffs.c
CommitLineData
b2441318 1// SPDX-License-Identifier: GPL-2.0
1da177e4
LT
2#include <linux/types.h>
3#include <linux/errno.h>
7c0f6ba6 4#include <linux/uaccess.h>
1da177e4 5
d2b194ed
KG
6#include <asm/sfp-machine.h>
7#include <math-emu/soft-fp.h>
1da177e4
LT
8
9int
10mffs(u32 *frD)
11{
12 frD[1] = __FPU_FPSCR;
13
14#ifdef DEBUG
e48b1b45 15 printk("%s: frD %p: %08x.%08x\n", __func__, frD, frD[0], frD[1]);
1da177e4
LT
16#endif
17
18 return 0;
19}