mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 00:21:59 +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>
17 lines
253 B
C
17 lines
253 B
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;
|
|
}
|