1 #include <linux/types.h>
2 #include <linux/errno.h>
3 #include <asm/uaccess.h>
10 lfs(void *frD, void *ea)
17 printk("%s: D %p, ea %p\n", __FUNCTION__, frD, ea);
20 if (copy_from_user(&f, ea, sizeof(float)))
26 printk("A: %ld %lu %ld (%ld) [%08lx]\n", A_s, A_f, A_e, A_c,
27 *(unsigned long *)&f);
30 FP_CONV(D, S, 2, 1, R, A);
33 printk("R: %ld %lu %lu %ld (%ld)\n", R_s, R_f1, R_f0, R_e, R_c);
36 return __FP_PACK_D(frD, R);