ia64/linux-2.6.18-xen.hg

annotate arch/powerpc/math-emu/stfiwx.c @ 854:950b9eb27661

usbback: fix urb interval value for interrupt urbs.

Signed-off-by: Noboru Iwamatsu <n_iwamatsu@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Apr 06 13:51:20 2009 +0100 (2009-04-06)
parents 831230e53067
children
rev   line source
ian@0 1 #include <linux/types.h>
ian@0 2 #include <linux/errno.h>
ian@0 3 #include <asm/uaccess.h>
ian@0 4
ian@0 5 int
ian@0 6 stfiwx(u32 *frS, void *ea)
ian@0 7 {
ian@0 8 #ifdef DEBUG
ian@0 9 printk("%s: %p %p\n", __FUNCTION__, frS, ea);
ian@0 10 #endif
ian@0 11
ian@0 12 if (copy_to_user(ea, &frS[1], sizeof(frS[1])))
ian@0 13 return -EFAULT;
ian@0 14
ian@0 15 return 0;
ian@0 16 }