Staging
v0.5.2
https://github.com/torvalds/linux
Raw File
Tip revision: 38dbfb59d1175ef458d006556061adeaa8751b72 authored by Linus Torvalds on 03 February 2014, 00:42:13 UTC
Linus 3.14-rc1
Tip revision: 38dbfb5
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: ", __func__, frS, ea);
	dump_double(frS);
	printk("\n");
#endif
#endif

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

	return 0;
}
back to top