Re: Where is a reference for ioctl32() usage?

From: Arnd Bergmann
Date: Fri Mar 18 2005 - 10:17:49 EST


On Freedag 18 März 2005 15:53, Alan Kilian wrote:
> I am trying to get my PCI bus device driver running on an Xeon
> 64-bit FC-3 distribution for the first time. It works fine on a
> 32-bit FC-3 distribution.

You should add a compat_ioctl file operation, see
http://lwn.net/Articles/119652/. If your ioctl handler is
64/32 bit clean, you can have a single function for both
unlocked_ioctl and compat_ioctl.

Arnd <><
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/