|
|
| File: [Development] / linux-2.4-xfs / arch / ppc / math-emu / stfiwx.c (download)
Revision 1.1, Wed Dec 31 00:54:49 2003 UTC (13 years, 10 months ago) by cattelan
Initial Import 2.4.24pre2 |
#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", __FUNCTION__, frS, ea);
#endif
if (copy_to_user(ea, &frS[1], sizeof(frS[1])))
return -EFAULT;
return 0;
}