Re: share COMPATIBLE_IOCTL()s across architectures

Pavel Machek
2003-03-20T19:22:13Z

Hi!

> This patche moves common COMPATIBLE_IOCTLs to
> include/linux/compat_ioctl.h, enabling pretty nice cleanups:
>
> Please be careful. For anything non-trivial there can be major
> differences between compat layers.

I'm trying to be carefull. How common are ioctls that are
COMPATIBLE_IOCTL(foo) on one arch, but not on another? So far I tried
to decide, and mostly decided that one architecture was simply
missing...

> I say this now because eventually I want this compat stuff
> to support multiple-compilations, using some COMPAT_NAME(foo)
> macro scheme and some Makefile hackery.

Well, if I'm a little more carefull, all I will change will be order
of fields in that ioctl32_start table. Should I aim for that?
Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]