Re: is avoiding compat ioctls possible?

Andi Kleen
2009-11-18T09:09:14Z

> Doing all these out-of-line hidden over here in a separate file just
> seems crazy,
> and I'm having trouble wondering why ppl consider it a better idea at all.

The separate file is on the way out, the modern way is to use
->compat_ioctl in the driver itself. Near all drivers except
for a few exceptions like DRM put it into the same file.
I think you should just move the code around in DRM too
and drop the separate file.

-Andi