blob: 6ec90b57c61a5c3a11d1e4d5735852138860dcd6 [file] [log] [blame]
#include <linux/types.h>
#include <linux/errno.h>
#include <asm/uaccess.h>
#include "sfp-machine.h"
#include "double.h"
int
lfd(void *frD, void *ea)
{
if (copy_from_user(frD, ea, sizeof(double)))
return -EFAULT;
#ifdef DEBUG
printk("%s: D %p, ea %p: ", __func__, frD, ea);
dump_double(frD);
printk("\n");
#endif
return 0;
}