vfs: Make __vfs_write() static
[linux/fpc-iii.git] / arch / powerpc / math-emu / stfd.c
blob463d2f0832d9e89541a5f7cb027c480dbfa663b8
1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/types.h>
3 #include <linux/errno.h>
4 #include <linux/uaccess.h>
6 int
7 stfd(void *frS, void *ea)
9 #if 0
10 #ifdef DEBUG
11 printk("%s: S %p, ea %p: ", __func__, frS, ea);
12 dump_double(frS);
13 printk("\n");
14 #endif
15 #endif
17 if (copy_to_user(ea, frS, sizeof(double)))
18 return -EFAULT;
20 return 0;