Re: share COMPATIBLE_IOCTL()s across architectures

From: Arnd Bergmann (arnd@arndb.de)
Date: Thu Mar 20 2003 - 05:30:07 EST


On Thursday 20 March 2003 03:38, Andi Kleen wrote:

> This would work for COMPATIBLE_IOCTLS, but the conversions handlers
> would need a new asm/ file for the macros.

If this is just about HANDLE_IOCTL, IOCTL_TABLE_START etc., they look
trivial enough to be put in asm/compat.h. They even appear to be
arch independent even though they have inline asm.

> They're declared with assembler
> magic to avoid declaring all the functions. This way you need less files.
Ah, I have always wondered why it is done in such a strange way for some
architectures.

        Arnd <><
-
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:30 EST