swh:1:snp:77163734605b0ec556b01d897b7bb4a7e30d46b6
Raw File
Tip revision: 24342c34a022ee90839873d91396045e12ef1090 authored by Linus Torvalds on 28 August 2008, 22:52:02 UTC
Linux 2.6.27-rc5
Tip revision: 24342c3
stfiwx.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;
}
back to top