Staging
v0.5.2
https://github.com/torvalds/linux
Raw File
Tip revision: a8b3485287731978899ced11f24628c927890e78 authored by Linus Torvalds on 12 January 2007, 18:54:26 UTC
Linux v2.6.20-rc5
Tip revision: a8b3485
stfd.c
#include <linux/types.h>
#include <linux/errno.h>
#include <asm/uaccess.h>

int
stfd(void *frS, void *ea)
{
#if 0
#ifdef DEBUG
	printk("%s: S %p, ea %p: ", __FUNCTION__, frS, ea);
	dump_double(frS);
	printk("\n");
#endif
#endif

	if (copy_to_user(ea, frS, sizeof(double)))
		return -EFAULT;

	return 0;
}
back to top