]> git.baikalelectronics.ru Git - kernel.git/commit
ieee1394: raw1394: Add ioctl() for 32bit userland on 64bit kernel
authorPetr Vandrovec <petr@vandrovec.name>
Mon, 7 May 2007 02:14:47 +0000 (04:14 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 9 Jul 2007 22:07:38 +0000 (00:07 +0200)
commitb6e93069e2187467e0e1df6bc0ab7e527ae3c9fc
treef968e1e6fea9ee93b5fc06fadbbd128a1e58a6e7
parente38c312eaa813e5efc42ce571538e55e405e0a44
ieee1394: raw1394: Add ioctl() for 32bit userland on 64bit kernel

Add compat_ioctl.  Although all structures are more or less same,
raw1394_iso_packets got pointer inside, and raw1394_cycle_timer got unwanted
padding in the middle.  I did not add any translation for ioctls passing array
of integers around as integers seem to have same size (32 bits) on all
architectures supported by Linux.

Signed-off-by: Petr Vandrovec <petr@vandrovec.name>
Acked-by: Dan Dennedy <dan@dennedy.org>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (split into 3 patches)
drivers/ieee1394/raw1394.c