android_kernel_cmhtcleo/arch/powerpc/math-emu/stfiwx.c
2010-08-27 11:19:57 +02:00

17 lines
253 B
C

#include <linux/types.h>
#include <linux/errno.h>
#include <asm/uaccess.h>
int
stfiwx(u32 *frS, void *ea)
{
#ifdef DEBUG
printk("%s: %p %p\n", __func__, frS, ea);
#endif
if (copy_to_user(ea, &frS[1], sizeof(frS[1])))
return -EFAULT;
return 0;
}