Re: share COMPATIBLE_IOCTL()s across architectures

From: David S. Miller (davem@redhat.com)
Date: Wed Mar 19 2003 - 19:01:30 EST


   From: Pavel Machek <pavel@suse.cz>
   Date: Thu, 20 Mar 2003 00:21:57 +0100

   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 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.

This would allow, for example, x86_64 to have an x86_32 and
x86_32_sysv compat layer in one build. So for example in this case
fs/compat.c would be built twice, once with x86_32 compat types
and once with x86_32_sysv types.

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



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:29 EST