]>
Commit | Line | Data |
---|---|---|
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 LT |
5 | |
6 | int | |
7 | stfd(void *frS, void *ea) | |
8 | { | |
9 | #if 0 | |
10 | #ifdef DEBUG | |
e48b1b45 | 11 | printk("%s: S %p, ea %p: ", __func__, frS, ea); |
1da177e4 LT |
12 | dump_double(frS); |
13 | printk("\n"); | |
14 | #endif | |
15 | #endif | |
16 | ||
17 | if (copy_to_user(ea, frS, sizeof(double))) | |
18 | return -EFAULT; | |
19 | ||
20 | return 0; | |
21 | } |