lfd.c (384B)
1// SPDX-License-Identifier: GPL-2.0 2#include <linux/types.h> 3#include <linux/errno.h> 4#include <linux/uaccess.h> 5 6#include <asm/sfp-machine.h> 7#include <math-emu/double.h> 8 9int 10lfd(void *frD, void *ea) 11{ 12 if (copy_from_user(frD, ea, sizeof(double))) 13 return -EFAULT; 14#ifdef DEBUG 15 printk("%s: D %p, ea %p: ", __func__, frD, ea); 16 dump_double(frD); 17 printk("\n"); 18#endif 19 return 0; 20}