[PATCH] add linux/ioctl32.h header for 2.5.43
commit1a19232d88b8f4545aca468056b924d58b01991b
authorAndi Kleen <ak@muc.de>
Fri, 18 Oct 2002 13:19:22 +0000 (18 06:19 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Fri, 18 Oct 2002 13:19:22 +0000 (18 06:19 -0700)
treeed9b3716f7e09b67d0572424b4556c22ef0934b4
parent3428c8d124db3392e2db34888b8020ab53b7b203
[PATCH] add linux/ioctl32.h header for 2.5.43

Several ports (x86-64,ppc64,sparc64) which do 32bit ioctl emulation
have functions for drivers to let them define their own translation
handlers. So far it was a bit complicated to use because there
was no standard include file that declares the prototypes for this
stuff. Then drivers and other subsystems can start to declare their own
ioctl translation handlers.

This patch add include/linux/ioctl32.h to fix this.

The actual implementation is in arch specific code. It has been coordinated
with DaveM and Anton.

This patch is needed for the x86-64 merge I sent in separate mail.

There is currently no preprocessor symbol that the drivers can test
to see if they should use this. So far they have to check arch symbols.
This will be fixed later when all 64bit ports that need it add the dynamic
ioctl registration API too (that's ia64,s390x,mips64)
include/linux/ioctl32.h [new file with mode: 0644]