1*5cd27208SKumar Gala #include <linux/types.h> 2*5cd27208SKumar Gala #include <linux/errno.h> 3*5cd27208SKumar Gala #include <asm/uaccess.h> 4*5cd27208SKumar Gala 5*5cd27208SKumar Gala #include "soft-fp.h" 6*5cd27208SKumar Gala #include "double.h" 7*5cd27208SKumar Gala #include "single.h" 8*5cd27208SKumar Gala 9*5cd27208SKumar Gala int 10*5cd27208SKumar Gala frsp(void *frD, void *frB) 11*5cd27208SKumar Gala { 12*5cd27208SKumar Gala FP_DECL_D(B); 13*5cd27208SKumar Gala 14*5cd27208SKumar Gala #ifdef DEBUG 15*5cd27208SKumar Gala printk("%s: D %p, B %p\n", __FUNCTION__, frD, frB); 16*5cd27208SKumar Gala #endif 17*5cd27208SKumar Gala 18*5cd27208SKumar Gala __FP_UNPACK_D(B, frB); 19*5cd27208SKumar Gala 20*5cd27208SKumar Gala #ifdef DEBUG 21*5cd27208SKumar Gala printk("B: %ld %lu %lu %ld (%ld)\n", B_s, B_f1, B_f0, B_e, B_c); 22*5cd27208SKumar Gala #endif 23*5cd27208SKumar Gala 24*5cd27208SKumar Gala return __FP_PACK_DS(frD, B); 25*5cd27208SKumar Gala } 26