mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
339 B
21 lines
339 B
// SPDX-License-Identifier: GPL-2.0 |
|
#include <linux/types.h> |
|
#include <linux/errno.h> |
|
#include <linux/uaccess.h> |
|
|
|
int |
|
stfd(void *frS, void *ea) |
|
{ |
|
#if 0 |
|
#ifdef DEBUG |
|
printk("%s: S %p, ea %p: ", __func__, frS, ea); |
|
dump_double(frS); |
|
printk("\n"); |
|
#endif |
|
#endif |
|
|
|
if (copy_to_user(ea, frS, sizeof(double))) |
|
return -EFAULT; |
|
|
|
return 0; |
|
}
|
|
|