mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-22 01:10:28 +00:00
e48b1b452f
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
21 lines
301 B
C
21 lines
301 B
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;
|
|
}
|